From 4602fa7c97505897fb69776b824ab27c84e47238 Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Fri, 25 Mar 2022 10:16:03 +0000 Subject: [PATCH] Fix typo in error message Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- gateway/metrics/add_metrics.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gateway/metrics/add_metrics.go b/gateway/metrics/add_metrics.go index 50fab7bd..5f7d0e4a 100644 --- a/gateway/metrics/add_metrics.go +++ b/gateway/metrics/add_metrics.go @@ -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 }