From 06fbca83bf2d8e0ff5280ca5aed136e008e4159f Mon Sep 17 00:00:00 2001 From: "Alex Ellis (OpenFaaS Ltd)" Date: Wed, 15 Sep 2021 16:17:12 +0100 Subject: [PATCH] Fix syntax error with error wrapping Signed-off-by: Alex Ellis (OpenFaaS Ltd) --- pkg/provider/handlers/functions.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/provider/handlers/functions.go b/pkg/provider/handlers/functions.go index 19ba3b4..24ee9a6 100644 --- a/pkg/provider/handlers/functions.go +++ b/pkg/provider/handlers/functions.go @@ -72,7 +72,7 @@ func GetFunction(client *containerd.Client, name string, namespace string) (Func allLabels, labelErr := c.Labels(ctx) if labelErr != nil { - log.Printf("cannot list container %s labels: %w", containerName, labelErr) + log.Printf("cannot list container %s labels: %s", containerName, labelErr) } labels, annotations := buildLabelsAndAnnotations(allLabels)