VictoriaMetrics/app
Roman Khavronenko 2831e6f9ae
vmalert: fix nil map assignment (#4392)
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>

---------

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

(cherry picked from commit de94812088)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2023-06-05 11:14:10 +02:00
..
victoria-metrics Lint and errcheck using golangci-lint (#3558) 2023-01-10 19:53:41 -08:00
vmagent lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2023-01-10 19:36:14 -08:00
vmalert vmalert: fix nil map assignment (#4392) 2023-06-05 11:14:10 +02:00
vmauth all: update Go builder from v1.19.3 to v1.19.4 2022-12-11 00:23:55 -08:00
vmbackup lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2023-01-10 19:36:14 -08:00
vmbackupmanager docs: update -help output for vmbackup, vmbackupmanager, vmgateway and vmrestore components 2022-06-21 15:49:01 +03:00
vmctl all: update Go builder from v1.19.3 to v1.19.4 2022-12-11 00:23:55 -08:00
vmgateway docs: update -help output for vmbackup, vmbackupmanager, vmgateway and vmrestore components 2022-06-21 15:49:01 +03:00
vminsert app/{vmagent,vminsert}: follow-up after d19e46de55 2022-07-07 01:30:58 +03:00
vmrestore lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2023-01-10 19:36:14 -08:00
vmselect app/vmselect/promql: prevent from cannot unmarshal timeseries from rollupResultCache panic after the upgrade to v1.89.0 2023-03-12 19:11:20 -07:00
vmstorage lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2023-01-10 19:36:14 -08:00
vmui deployment/docker: update base docker image from 3.17.3 to 3.18.0 2023-05-12 17:34:08 -07:00