Skip to content

Commit 929544e

Browse files
authored
Merge pull request #162 from andyzhangx/remove-secret-logging
fix: remove secret logging in NodeStageVolume
2 parents ba46107 + d49609a commit 929544e

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

deploy/example/pv-blobfuse-csi.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ spec:
1515
csi:
1616
driver: blobfuse.csi.azure.com
1717
readOnly: false
18-
volumeHandle: uniqe-volumeid # make sure this volumeid is unique in whole cluster
18+
volumeHandle: uniqe-volumeid # make sure this volumeid is unique in the cluster
1919
volumeAttributes:
2020
containerName: EXISTING_CONTAINER_NAME
2121
nodeStageSecretRef:

pkg/blobfuse/nodeserver.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ func (d *Driver) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublish
103103

104104
// NodeStageVolume mount the volume to a staging path
105105
func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRequest) (*csi.NodeStageVolumeResponse, error) {
106-
klog.V(2).Infof("NodeStageVolume: called with args %+v", *req)
107106
if len(req.GetVolumeId()) == 0 {
108107
return nil, status.Error(codes.InvalidArgument, "Volume ID missing in request")
109108
}

0 commit comments

Comments
 (0)