mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-09-22 06:46:34 +08:00
Fix build
This commit is contained in:
@@ -92,7 +92,7 @@ func newGetMetricsHandlerFunc(client *http.Client, prometheusAddr string) http.H
|
||||
for r := range ch {
|
||||
n--
|
||||
if r.err != nil {
|
||||
http.Error(w, fmt.Sprintf("failed to fetch %q: %v", r.query, err), http.StatusInternalServerError)
|
||||
http.Error(w, fmt.Sprintf("failed to fetch %q: %v", r.query, r.err), http.StatusInternalServerError)
|
||||
return
|
||||
}
|
||||
switch r.query {
|
||||
|
Reference in New Issue
Block a user