From 48745ff5d4f510b36ed02a6a379ab68489da92e2 Mon Sep 17 00:00:00 2001 From: "David B. Tucker" Date: Mon, 17 Jun 2019 13:01:33 -0400 Subject: [PATCH] Explicitly call .String() on log level in template. --- cmd/stackdriver-prometheus-sidecar/statusz-tmpl.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/stackdriver-prometheus-sidecar/statusz-tmpl.html b/cmd/stackdriver-prometheus-sidecar/statusz-tmpl.html index 5969f10f..52c34c9e 100644 --- a/cmd/stackdriver-prometheus-sidecar/statusz-tmpl.html +++ b/cmd/stackdriver-prometheus-sidecar/statusz-tmpl.html @@ -69,7 +69,7 @@

Parsed configuration

Kubernetes labels: cluster name{{.KubernetesLabels.ClusterName}} Kubernetes labels: location{{.KubernetesLabels.Location}} Listen address{{.ListenAddress}} - Log level{{.LogLevel}} + Log level{{.LogLevel.String}} Metrics prefix{{.MetricsPrefix}} Monitoring backends{{.MonitoringBackends}} Project ID resource{{.ProjectIDResource}}