Skip to content

Commit 59346cc

Browse files
authored
Merge pull request #2079 from k8s-infra-cherrypick-robot/cherry-pick-2077-to-release-1.26
[release-1.26] cleanup: fix incorrect logging info when volume is already mounted
2 parents 68bf419 + e7c1d19 commit 59346cc

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)