From 78271000c0a0a8f2133c91d08f8a0481db5e6384 Mon Sep 17 00:00:00 2001 From: Lukas Hauser Date: Wed, 9 Aug 2023 10:54:24 +0200 Subject: [PATCH] Logs - Add missing formatting (#2780) --- cmd/githubwebhookserver/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/githubwebhookserver/main.go b/cmd/githubwebhookserver/main.go index 1245b823..4c198002 100644 --- a/cmd/githubwebhookserver/main.go +++ b/cmd/githubwebhookserver/main.go @@ -124,7 +124,7 @@ func main() { if watchNamespace == "" { logger.Info("-watch-namespace is empty. HorizontalRunnerAutoscalers in all the namespaces are watched, cached, and considered as scale targets.") } else { - logger.Info("-watch-namespace is %q. Only HorizontalRunnerAutoscalers in %q are watched, cached, and considered as scale targets.", watchNamespace, watchNamespace) + logger.Info(fmt.Sprintf("-watch-namespace is %q. Only HorizontalRunnerAutoscalers in %q are watched, cached, and considered as scale targets.", watchNamespace, watchNamespace)) } ctrl.SetLogger(logger)