Skip to content

Commit

Permalink
Update pkg/grafana/utils.go
Browse files Browse the repository at this point in the history
Co-authored-by: Selene <[email protected]>
  • Loading branch information
K-Phoen and spinillos committed Nov 26, 2024
1 parent 17d645a commit 487374f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/grafana/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 487374f

Please sign in to comment.