VictoriaMetrics/app
Roman Khavronenko 033e1ac3d2
vmalert: do not return nil rules for /api/v1/rules (#4344)
The fix addresses a case when vmalert is configured with a group
which has `name`, but doesn't have `rules` configured. In this
case it still returns a `nil` instead of `[]` slice.

Fixing this via current commit.

See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4221

Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit 66ed6fe62f)
2023-06-02 13:19:33 +02:00
..
vmagent fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
vmalert vmalert: do not return nil rules for /api/v1/rules (#4344) 2023-06-02 13:19:33 +02:00
vmauth app/vmauth: allow -auth.config without users section of unauthorized_user section is present here 2023-05-18 09:44:07 -07:00
vmbackup fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
vmbackupmanager added backup locking/unlocking against retention policy to vmbackupmanager (#558) 2023-05-16 11:23:43 -07:00
vmctl app/vmctl: set default value for --vm-native-step-interval flag (#4327) 2023-05-18 11:03:26 -07:00
vmgateway fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
vminsert cluster: standardize default HTTP responses (#4368) 2023-06-01 10:26:52 +02:00
vmrestore fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
vmselect cluster: standardize default HTTP responses (#4368) 2023-06-01 10:26:52 +02:00
vmstorage cluster: standardize default HTTP responses (#4368) 2023-06-01 10:26:52 +02:00
vmui vmui: refactor code using custom hooks (#4145) 2023-05-16 10:09:24 -07:00