Skip to content

Commit d84a738

Browse files
authored
Merge pull request #2077 from andyzhangx/fix-incorrect-logging
cleanup: fix incorrect logging info when volume is already mounted
2 parents d466d64 + 2c34a24 commit d84a738

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)