build: adopt Go 1.23 and bump linter

This commit is contained in:
Pires
2025-01-07 23:35:00 +00:00
committed by Pires
parent 1f5e83b1d6
commit 4942ea59a7
7 changed files with 48 additions and 22 deletions

View File

@@ -58,7 +58,7 @@ type fakeDiscardingRecorder struct {
}
func (r *fakeDiscardingRecorder) Event(object runtime.Object, eventType, reason, message string) {
r.Eventf(object, eventType, reason, message)
r.Eventf(object, eventType, reason, "%s", message)
}
func (r *fakeDiscardingRecorder) Eventf(object runtime.Object, eventType, reason, messageFmt string, args ...interface{}) {