From 0f988e5a3120d8b3ef2cbd175e8a6b82c973e1b3 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 2c23a06dcb..72ab551758 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 }