diff --git a/pkg/csi/cinder/controllerserver.go b/pkg/csi/cinder/controllerserver.go index 1a1b9e2ff6..f5b18c35a7 100644 --- a/pkg/csi/cinder/controllerserver.go +++ b/pkg/csi/cinder/controllerserver.go @@ -952,6 +952,7 @@ func (cs *controllerServer) ControllerGetVolume(ctx context.Context, req *csi.Co } return nil, status.Errorf(codes.Internal, "ControllerGetVolume failed with error %v", err) } + break } if err != nil { return nil, status.Errorf(codes.NotFound, "Volume %s not found", volumeID)