diff --git a/lifecycle-operator/main.go b/lifecycle-operator/main.go index 89d92d7d7b9..41e4fad29ed 100644 --- a/lifecycle-operator/main.go +++ b/lifecycle-operator/main.go @@ -443,7 +443,7 @@ func main() { } func serveMetrics(metricsPort int) { - log.Printf("serving metrics at %s/metrics", &metricsPort) + log.Printf("serving metrics at %s/metrics", metricsPort) http.Handle("/metrics", promhttp.Handler()) err := http.ListenAndServe(":"+strconv.Itoa(metricsPort), nil) if err != nil {