Skip to content

Commit 1a43530

Browse files
committed
pkg/cvo/sync_worker.go: Fix Warning and Info log statements to handle arguments
1 parent f9c42b2 commit 1a43530

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cvo/sync_worker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -494,10 +494,10 @@ func equalSyncWork(a, b *SyncWork, state payload.State) bool {
494494
}
495495
if detected != "" {
496496
if state == payload.InitializingPayload {
497-
klog.Warning("Ignoring detected %s during payload initialization", detected)
497+
klog.Warningf("Ignoring detected %s during payload initialization", detected)
498498
return true
499499
}
500-
klog.V(5).Info("Detected %s", detected)
500+
klog.V(5).Infof("Detected %s", detected)
501501
return false
502502
}
503503
return true

0 commit comments

Comments
 (0)