From 2db8ef46e8a887aad0eeae89094338d88049b251 Mon Sep 17 00:00:00 2001 From: Jiaxun Song Date: Wed, 3 Apr 2024 16:26:19 -0700 Subject: [PATCH] Update isVolumePathMounted log message isVolumePathMounted is used by both NodePublishVolume and NodeStageVolume functions. --- pkg/gce-pd-csi-driver/node.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gce-pd-csi-driver/node.go b/pkg/gce-pd-csi-driver/node.go index 0034ee9c1..cf7bdbf99 100644 --- a/pkg/gce-pd-csi-driver/node.go +++ b/pkg/gce-pd-csi-driver/node.go @@ -91,7 +91,7 @@ func getDefaultFsType() string { } func (ns *GCENodeServer) isVolumePathMounted(path string) bool { notMnt, err := ns.Mounter.Interface.IsLikelyNotMountPoint(path) - klog.V(4).Infof("NodePublishVolume check volume path %s is mounted %t: error %v", path, !notMnt, err) + klog.V(4).Infof("Checking volume path %s is mounted %t: error %v", path, !notMnt, err) if err == nil && !notMnt { // TODO(#95): check if mount is compatible. Return OK if it is, or appropriate error. /*