Fix: Ensure constant format strings in fmt and printf calls#417
Fix: Ensure constant format strings in fmt and printf calls#417k8s-ci-robot merged 1 commit intokubernetes:mainfrom
Conversation
|
This issue is currently awaiting triage. If klog contributors determine this is a relevant issue, they will accept it by applying the The DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
|
Welcome @mikelolasagasti! |
51b5d96 to
0efd0bf
Compare
Go 1.24 introduces stricter checks for format string validation. This commit replaces a non-constant format string in a call to `fmt.Printf` with `fmt.Fprintln`, ensuring compliance with the new checks. Signed-off-by: Mikel Olasagasti Uranga <mikel@olasagasti.info>
0efd0bf to
3f71f22
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mikelolasagasti, pohly The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Go 1.24 introduces stricter checks for format string validation. This commit fixes an instance where a non-constant format strings is used in calls to functions
fmt.Printf.