Skip to content

Commit

Permalink
Fix syntax error with error wrapping
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Sep 15, 2021
1 parent e71d2c2 commit 06fbca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/provider/handlers/functions.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 06fbca8

Please sign in to comment.