Skip to content

Commit 2c34a24

Browse files
committed
cleanup: fix incorrect logging info when volume is already mounted
fix
1 parent d466d64 commit 2c34a24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/blob/nodeserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,7 @@ func (d *Driver) NodeStageVolume(ctx context.Context, req *csi.NodeStageVolumeRe
329329
}
330330
if mnt {
331331
klog.V(2).Infof("NodeStageVolume: volume %s is already mounted on %s", volumeID, targetPath)
332+
isOperationSucceeded = true
332333
return &csi.NodeStageVolumeResponse{}, nil
333334
}
334335

0 commit comments

Comments
 (0)