Skip to content

Commit

Permalink
Merge pull request #1475 from andyzhangx/fix-refine-logs2
Browse files Browse the repository at this point in the history
[release-1.23] cleanup: refine logs
  • Loading branch information
andyzhangx authored Jul 13, 2024
2 parents 5fa3175 + 451c932 commit a860d33
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/blob/nodeserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,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 {
Expand Down Expand Up @@ -383,8 +383,8 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
args = args + " " + opt
}

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

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

0 comments on commit a860d33

Please sign in to comment.