mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 14:37:00 +00:00
Merge pull request #109659 from heqg/structuredLog01
Log StructuredLog: spelling formatting
This commit is contained in:
commit
b593ed3118
@ -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