Skip to content

Commit 9d79bf5

Browse files
authored
Merge pull request #1479 from k8s-infra-cherrypick-robot/cherry-pick-1476-to-release-1.22
[release-1.22] cleanup: refine logs
2 parents 0f75d37 + 2f26002 commit 9d79bf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/blob/nodeserver.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ func (d *Driver) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolu
8686
setKeyValueInMap(context, getAccountKeyFromSecretField, trueValue)
8787
setKeyValueInMap(context, storageAccountField, "")
8888
}
89-
klog.V(2).Infof("NodePublishVolume: ephemeral volume(%s) mount on %s, VolumeContext: %v", volumeID, target, context)
89+
klog.V(2).Infof("NodePublishVolume: ephemeral volume(%s) mount on %s", volumeID, target)
9090
_, err := d.NodeStageVolume(ctx, &csi.NodeStageVolumeRequest{
9191
StagingTargetPath: target,
9292
VolumeContext: context,
@@ -307,8 +307,8 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
307307
}
308308

309309
if isNFSProtocol(protocol) {
310-
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\ncontext %v\nmountflags %v\nserverAddress %v",
311-
targetPath, protocol, volumeID, attrib, mountFlags, serverAddress)
310+
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\nmountflags %v\nserverAddress %v",
311+
targetPath, protocol, volumeID, mountFlags, serverAddress)
312312

313313
mountType := AZNFS
314314
if !d.enableAznfsMount || protocol == NFSv3 {

0 commit comments

Comments
 (0)