VictoriaMetrics/app
Roman Khavronenko de94812088
vmalert: fix nil map assignment (#4392)
* vmalert: fix nil map assignment

The storage instance with nil map params was created for remote-read purposes.
And before change 7a9ae9de0d this map was ignored in ApplyParams.
Now, it started to be used and vmalert panics in runtime.

The fix properly inits map for at `NewVMStorage` and verifies it is not nil
on assignment in `ApplyParams`.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: add to changelog

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: properly clone Storage params

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: properly clone Storage params

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: properly clone Storage params

Signed-off-by: hagen1778 <roman@victoriametrics.com>

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-06-02 11:38:55 +02:00
..
victoria-metrics lib/streamaggr: follow-up for ff72ca14b9 2023-03-31 22:30:38 -07:00
vmagent docs: clarify deduplication docs (#4371) 2023-06-01 10:28:21 +02:00
vmalert vmalert: fix nil map assignment (#4392) 2023-06-02 11:38:55 +02:00
vmauth app/vmauth: allow -auth.config without users section of unauthorized_user section is present here 2023-05-18 10:41:34 -07:00
vmbackup fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmbackupmanager docs: fix markdown for title 2023-05-29 22:22:25 +02:00
vmctl app/vmctl: fix tests (#4345) 2023-05-25 17:04:04 +02:00
vmgateway fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vminsert fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmrestore fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmselect app/vmselect/graphite: fixes tests for arm (#4348) 2023-05-26 09:34:15 +02:00
vmstorage fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 09:50:41 +02:00
vmui app/vmui: fix behavior when changing url in global settings (#4332) 2023-06-01 12:19:03 +03:00