Skip to content

Commit

Permalink
Explicitly call .String() on log level in template.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbtucker committed Jun 17, 2019
1 parent 213430f commit 48745ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/stackdriver-prometheus-sidecar/statusz-tmpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1>Parsed configuration</h1>
<tr><th>Kubernetes labels: cluster name</th><td>{{.KubernetesLabels.ClusterName}}</td></tr>
<tr><th>Kubernetes labels: location</th><td>{{.KubernetesLabels.Location}}</td></tr>
<tr><th>Listen address</th><td>{{.ListenAddress}}</td></tr>
<tr><th>Log level</th><td>{{.LogLevel}}</td></tr>
<tr><th>Log level</th><td>{{.LogLevel.String}}</td></tr>
<tr><th>Metrics prefix</th><td>{{.MetricsPrefix}}</td></tr>
<tr><th>Monitoring backends</th><td>{{.MonitoringBackends}}</td></tr>
<tr><th>Project ID resource</th><td>{{.ProjectIDResource}}</td></tr>
Expand Down

0 comments on commit 48745ff

Please sign in to comment.