Skip to content

Commit

Permalink
Merge pull request #3719 from rbbratta/ovspinning-log-infof
Browse files Browse the repository at this point in the history
ovspinning: use klog.Infof() instead of klog.Info()
  • Loading branch information
trozet committed Jun 29, 2023
2 parents 58d1133 + 5461292 commit 2e085e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go-controller/pkg/node/ovspinning/ovspinning_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func setOvsVSwitchdCPUAffinity() error {
return fmt.Errorf("can't retrieve ovs-vswitchd PID: %w", err)
}

klog.V(5).Info("Managing ovs-vswitchd[%s] daemon CPU affinity", ovsVSwitchdPID)
klog.V(5).Infof("Managing ovs-vswitchd[%s] daemon CPU affinity", ovsVSwitchdPID)
return setProcessCPUAffinity(ovsVSwitchdPID)
}

Expand Down Expand Up @@ -178,7 +178,7 @@ func setProcessCPUAffinity(targetPIDStr string) error {
}

if currentProcessCPUs == targetProcessCPUs {
klog.V(5).Info("Process[%d] CPU affinity already match current process's affinity %s", targetPID, printCPUSet(currentProcessCPUs))
klog.V(5).Infof("Process[%d] CPU affinity already match current process's affinity %s", targetPID, printCPUSet(currentProcessCPUs))
return nil
}

Expand Down

0 comments on commit 2e085e8

Please sign in to comment.