Skip to content

Commit

Permalink
sprintf removal
Browse files Browse the repository at this point in the history
  • Loading branch information
njtran committed Dec 20, 2024
1 parent cde376b commit 5f9b231
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/provisioning/scheduling/events.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func NoCompatibleInstanceTypes(np *v1.NodePool) events.Event {
InvolvedObject: np,
Type: corev1.EventTypeWarning,
Reason: "NoCompatibleInstanceTypes",
Message: fmt.Sprintf("NodePool requirements filtered out all compatible instance types"),
Message: "NodePool requirements filtered out all compatible instance types",
DedupeValues: []string{string(np.UID)},
DedupeTimeout: 1 * time.Minute,
}
Expand Down

0 comments on commit 5f9b231

Please sign in to comment.