VictoriaMetrics/app
hagen1778 67efc174a8
app/vmauth: properly initialize URLPrefix in tests
It is assumed that URLPrefix.busOriginal will be initialized
durin Unmarshal of the config. But in tests we set fields manually,
so this field never get initialized properly.

Fixes the error `panic: runtime error: integer divide by zero`
at `vmauth.getLeastLoadedBackendURL`.

Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit cb1e618a16)
2024-03-08 21:15:24 +01:00
..
victoria-logs all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
vlinsert Add _stream fields log (#5068) 2023-11-17 16:04:13 +01:00
vlselect app/vlselect/vmui: run make vmui-logs-update after c51031dd70 2024-03-01 01:33:37 +02:00
vlstorage app/vlselect: follow-up for 451d2abf50 2024-02-18 23:06:08 +02:00
vmagent app/vmagent/remotewrite: clarify the reason behind the default value for -remoteWrite.queues in the same way as the reason for -maxConcurrentInserts is defined at 73f5fb0f0c 2024-03-06 13:57:53 +02:00
vmalert app/{vmalert,vmctl}: consistently use http.NewRequestWithContext() instead of http.NewRequest() + req.WithContext() 2024-02-29 15:25:36 +02:00
vmalert-tool docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmauth app/vmauth: properly initialize URLPrefix in tests 2024-03-08 21:15:24 +01:00
vmbackup lib/snapshot: move Time, Validate and NewName into lib/snapshot/snapshotutil package 2024-02-09 04:19:30 +02:00
vmbackupmanager docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vmctl app/vmctl: support TLS configuration for VictoriaMetrics destination 2024-03-08 21:15:23 +01:00
vmgateway docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
vminsert app/{vmagent,vminsert}: follow-up for 434a5803e7 2024-02-29 18:05:12 +02:00
vmrestore all: add support for specifying multiple -httpListenAddr options 2024-02-09 03:22:49 +02:00
vmselect app/vmselect/prometheus: do not drop match[] filters if -search.ignoreExtraFiltersAtLabelsAPI flag is set 2024-03-06 13:57:20 +02:00
vmstorage app: consistently use atomic.* types instead of atomic.* functions 2024-02-24 03:06:14 +02:00
vmui deployment/docker: update Go builder from Go1.21.7 to Go1.22.1 2024-03-06 21:04:44 +02:00