From d6ecb9ea3063a8b85cb65f0ac045525251b13adc Mon Sep 17 00:00:00 2001 From: andyzhangx Date: Sat, 13 Jul 2024 08:05:48 +0000 Subject: [PATCH] fix: refine logs --- pkg/blob/nodeserver.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/blob/nodeserver.go b/pkg/blob/nodeserver.go index c54cee043..38078fd40 100644 --- a/pkg/blob/nodeserver.go +++ b/pkg/blob/nodeserver.go @@ -99,7 +99,7 @@ func (d *Driver) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolu setKeyValueInMap(context, getAccountKeyFromSecretField, trueValue) setKeyValueInMap(context, storageAccountField, "") } - klog.V(2).Infof("NodePublishVolume: ephemeral volume(%s) mount on %s, VolumeContext: %v", volumeID, target, context) + klog.V(2).Infof("NodePublishVolume: ephemeral volume(%s) mount on %s", volumeID, target) _, err := d.NodeStageVolume(ctx, &csi.NodeStageVolumeRequest{ StagingTargetPath: target, VolumeContext: context, @@ -341,8 +341,8 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe } if isNFSProtocol(protocol) { - klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\ncontext %v\nmountflags %v\nserverAddress %v", - targetPath, protocol, volumeID, attrib, mountFlags, serverAddress) + klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\nmountflags %v\nserverAddress %v", + targetPath, protocol, volumeID, mountFlags, serverAddress) mountType := AZNFS if !d.enableAznfsMount || protocol == NFSv3 {