From 3d14bcb9a4a6c0cd9e7f923ca247d5d4821cfccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E5=BA=86=E5=9B=BD10193842?= Date: Tue, 26 Apr 2022 17:04:06 +0800 Subject: [PATCH] Log StructuredLog: spelling formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 何庆国10193842 --- cmd/kubelet/app/server_linux.go | 2 +- pkg/volume/local/local.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/kubelet/app/server_linux.go b/cmd/kubelet/app/server_linux.go index 9279f97135e..473c39a33f7 100644 --- a/cmd/kubelet/app/server_linux.go +++ b/cmd/kubelet/app/server_linux.go @@ -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") } diff --git a/pkg/volume/local/local.go b/pkg/volume/local/local.go index d6a5ec85cb1..df9b7f560f9 100644 --- a/pkg/volume/local/local.go +++ b/pkg/volume/local/local.go @@ -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")