Skip to content

Commit 153a59c

Browse files
author
Shawn Hurley
authored
Adding max workers to the string of the message instead of a logr field (#1180)
1 parent 35ad467 commit 153a59c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ansible/operator/operator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func getMaxWorkers(gvk schema.GroupVersionKind, defvalue int) int {
8989
if err != nil {
9090
// we don't care why we couldn't parse it just use one.
9191
// maybe we should log that we are defaulting to 1.
92-
logf.Log.WithName("manager").V(0).Info("Using default value for workers %d", defvalue)
92+
logf.Log.WithName("manager").V(0).Info(fmt.Sprintf("Using default value for workers %d", defvalue))
9393
return defvalue
9494
}
9595

0 commit comments

Comments
 (0)