Skip to content

Commit

Permalink
Remove logging the secret of luks
Browse files Browse the repository at this point in the history
  • Loading branch information
outscale-mdr committed Oct 5, 2022
1 parent 309272e commit 19871ae
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/driver/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,7 @@ func newNodeService() nodeService {
}

func (d *nodeService) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRequest) (*csi.NodeStageVolumeResponse, error) {
klog.V(4).Infof("NodeStageVolume: called with args %+v", *req)
klog.V(4).Infof("%#v", req.GetPublishContext())
klog.V(4).Infof("NodeStageVolume: called with args {VolumeId:%+v, PublishContext:%+v, StagingTargetPath:%+v, VolumeCapability:%+v, VolumeContext:%+v}", req.VolumeId, req.PublishContext, req.StagingTargetPath, req.VolumeCapability, req.VolumeContext)

volumeID := req.GetVolumeId()
if len(volumeID) == 0 {
Expand Down

0 comments on commit 19871ae

Please sign in to comment.