vmalert: fix the typo in ApplyParams func (#1259)

This commit is contained in:
Roman Khavronenko 2021-04-30 08:31:45 +01:00 committed by GitHub
parent afca7b430c
commit 0f988e5a31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,8 +116,8 @@ func (s *VMStorage) Clone() *VMStorage {
func (s *VMStorage) ApplyParams(params QuerierParams) *VMStorage {
if params.DataSourceType != nil {
s.dataSourceType = *params.DataSourceType
s.evaluationInterval = params.EvaluationInterval
}
s.evaluationInterval = params.EvaluationInterval
return s
}