Skip to content

Commit d6ecb9e

Browse files
andyzhangxk8s-infra-cherrypick-robot
authored andcommitted
fix: refine logs
1 parent a49f649 commit d6ecb9e

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
@@ -99,7 +99,7 @@ func (d *Driver) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolu
9999
setKeyValueInMap(context, getAccountKeyFromSecretField, trueValue)
100100
setKeyValueInMap(context, storageAccountField, "")
101101
}
102-
klog.V(2).Infof("NodePublishVolume: ephemeral volume(%s) mount on %s, VolumeContext: %v", volumeID, target, context)
102+
klog.V(2).Infof("NodePublishVolume: ephemeral volume(%s) mount on %s", volumeID, target)
103103
_, err := d.NodeStageVolume(ctx, &csi.NodeStageVolumeRequest{
104104
StagingTargetPath: target,
105105
VolumeContext: context,
@@ -341,8 +341,8 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
341341
}
342342

343343
if isNFSProtocol(protocol) {
344-
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\ncontext %v\nmountflags %v\nserverAddress %v",
345-
targetPath, protocol, volumeID, attrib, mountFlags, serverAddress)
344+
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\nmountflags %v\nserverAddress %v",
345+
targetPath, protocol, volumeID, mountFlags, serverAddress)
346346

347347
mountType := AZNFS
348348
if !d.enableAznfsMount || protocol == NFSv3 {

0 commit comments

Comments
 (0)