Fix typo in error message

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
This commit is contained in:
Alex Ellis (OpenFaaS Ltd)
2022-03-25 10:16:03 +00:00
parent c2381102d0
commit 4602fa7c97

View File

@ -35,7 +35,7 @@ func AddMetricsHandler(handler http.HandlerFunc, prometheusQuery PrometheusQuery
recorder.Code,
string(upstreamBody))
http.Error(w, "Unexpected status code retriving functions from backend", http.StatusInternalServerError)
http.Error(w, "Metrics hander: unexpected status code retrieving functions from backend", http.StatusInternalServerError)
return
}