From 73949678411b76ac7040edee37dcc4f29b5b5e4e Mon Sep 17 00:00:00 2001 From: Roman Khavronenko Date: Fri, 30 Apr 2021 08:31:45 +0100 Subject: [PATCH] vmalert: fix the typo in ApplyParams func (#1259) --- app/vmalert/datasource/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/vmalert/datasource/vm.go b/app/vmalert/datasource/vm.go index 2c23a06dc..72ab55175 100644 --- a/app/vmalert/datasource/vm.go +++ b/app/vmalert/datasource/vm.go @@ -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 }