mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
vmalert: fix the typo in ApplyParams func (#1259)
This commit is contained in:
parent
afca7b430c
commit
0f988e5a31
1 changed files with 1 additions and 1 deletions
|
@ -116,8 +116,8 @@ func (s *VMStorage) Clone() *VMStorage {
|
||||||
func (s *VMStorage) ApplyParams(params QuerierParams) *VMStorage {
|
func (s *VMStorage) ApplyParams(params QuerierParams) *VMStorage {
|
||||||
if params.DataSourceType != nil {
|
if params.DataSourceType != nil {
|
||||||
s.dataSourceType = *params.DataSourceType
|
s.dataSourceType = *params.DataSourceType
|
||||||
s.evaluationInterval = params.EvaluationInterval
|
|
||||||
}
|
}
|
||||||
|
s.evaluationInterval = params.EvaluationInterval
|
||||||
return s
|
return s
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue