Skip to content
This repository was archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Log StructuredLog: spelling formatting
Browse files Browse the repository at this point in the history
Signed-off-by: 何庆国10193842 <[email protected]>
  • Loading branch information
heqg committed Apr 26, 2022
1 parent f02682c commit 3d14bcb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/kubelet/app/server_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func watchForLockfileContention(path string, done chan struct{}) error {
go func() {
select {
case ev := <-watcher.Event:
klog.InfoS("inotify event", "event", ev)
klog.InfoS("Inotify event", "event", ev)
case err = <-watcher.Error:
klog.ErrorS(err, "inotify watcher error")
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/volume/local/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ func (plugin *localVolumePlugin) NodeExpand(resizeOptions volume.NodeResizeOptio
case hostutil.FileTypeDirectory:
// if the given local volume path is of already filesystem directory, return directly because
// we do not want to prevent mount operation from succeeding.
klog.InfoS("expansion of directory based local volumes is NO-OP", "local-volume-path", localDevicePath)
klog.InfoS("Expansion of directory based local volumes is NO-OP", "local-volume-path", localDevicePath)
return true, nil
default:
return false, fmt.Errorf("only directory and block device are supported")
Expand Down

0 comments on commit 3d14bcb

Please sign in to comment.