Skip to content

Commit b1bd8e7

Browse files
committed
Use %q instead of %s
1 parent a39a7c6 commit b1bd8e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/util/helpers.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ func GenerateConditionChangeEvent(t string, status types.ConditionStatus, reason
2828
Severity: types.Info,
2929
Timestamp: timestamp,
3030
Reason: reason,
31-
Message: fmt.Sprintf("Node condition %s is now: %s, reason: %s, message: %s", t, status, reason, message),
31+
Message: fmt.Sprintf("Node condition %s is now: %s, reason: %s, message: %q", t, status, reason, message),
3232
}
3333
}
3434

0 commit comments

Comments
 (0)