Skip to content

Commit 451c932

Browse files
committed
fix: refine logs
1 parent 5fa3175 commit 451c932

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pkg/blob/nodeserver.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,8 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
326326
}
327327

328328
if isNFSProtocol(protocol) {
329-
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\ncontext %v\nmountflags %v\nserverAddress %v",
330-
targetPath, protocol, volumeID, attrib, mountFlags, serverAddress)
329+
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\nmountflags %v\nserverAddress %v",
330+
targetPath, protocol, volumeID, mountFlags, serverAddress)
331331

332332
mountType := AZNFS
333333
if !d.enableAznfsMount || protocol == NFSv3 {
@@ -383,8 +383,8 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
383383
args = args + " " + opt
384384
}
385385

386-
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\ncontext %v\nmountflags %v\nmountOptions %v\nargs %v\nserverAddress %v",
387-
targetPath, protocol, volumeID, attrib, mountFlags, mountOptions, args, serverAddress)
386+
klog.V(2).Infof("target %v\nprotocol %v\n\nvolumeId %v\nmountflags %v\nmountOptions %v\nargs %v\nserverAddress %v",
387+
targetPath, protocol, volumeID, mountFlags, mountOptions, args, serverAddress)
388388

389389
authEnv = append(authEnv, "AZURE_STORAGE_ACCOUNT="+accountName, "AZURE_STORAGE_BLOB_ENDPOINT="+serverAddress)
390390
if d.enableBlobMockMount {

0 commit comments

Comments
 (0)