From 487374ff121efaacd5203eb0f7a42d8247f20de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Gomez?= Date: Tue, 26 Nov 2024 14:12:17 +0100 Subject: [PATCH] Update pkg/grafana/utils.go Co-authored-by: Selene --- pkg/grafana/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/grafana/utils.go b/pkg/grafana/utils.go index 51f6f1ab..2a46c13d 100644 --- a/pkg/grafana/utils.go +++ b/pkg/grafana/utils.go @@ -56,7 +56,7 @@ func authenticateAndProxyHandler(s grizzly.Server, provider grizzly.Provider) ht config := provider.(ClientProvider).Config() if config.URL == "" { - grizzly.SendError(w, "Error: No Grafana URL configured", fmt.Errorf("no Grafana URL configured"), 400) + grizzly.SendError(w, "Error: No Grafana URL configured", fmt.Errorf("no Grafana URL configured"), http.StatusBadRequest) return }