mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Log StructuredLog: spelling formatting
Signed-off-by: 何庆国10193842 <he.qingguo@zte.com.cn>
This commit is contained in:
parent
f02682c628
commit
3d14bcb9a4
@ -37,7 +37,7 @@ func watchForLockfileContention(path string, done chan struct{}) error {
|
|||||||
go func() {
|
go func() {
|
||||||
select {
|
select {
|
||||||
case ev := <-watcher.Event:
|
case ev := <-watcher.Event:
|
||||||
klog.InfoS("inotify event", "event", ev)
|
klog.InfoS("Inotify event", "event", ev)
|
||||||
case err = <-watcher.Error:
|
case err = <-watcher.Error:
|
||||||
klog.ErrorS(err, "inotify watcher error")
|
klog.ErrorS(err, "inotify watcher error")
|
||||||
}
|
}
|
||||||
|
@ -412,7 +412,7 @@ func (plugin *localVolumePlugin) NodeExpand(resizeOptions volume.NodeResizeOptio
|
|||||||
case hostutil.FileTypeDirectory:
|
case hostutil.FileTypeDirectory:
|
||||||
// if the given local volume path is of already filesystem directory, return directly because
|
// if the given local volume path is of already filesystem directory, return directly because
|
||||||
// we do not want to prevent mount operation from succeeding.
|
// 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
|
return true, nil
|
||||||
default:
|
default:
|
||||||
return false, fmt.Errorf("only directory and block device are supported")
|
return false, fmt.Errorf("only directory and block device are supported")
|
||||||
|
Loading…
Reference in New Issue
Block a user