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 Aliaksandr Valialkin
parent 131e9912eb
commit 7394967841

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
}