mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Merge pull request #53588 from NickrenREN/openstack-deletevolume
Automatic merge from submit-queue (batch tested with PRs 52662, 53547, 53588, 53573, 53599). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Return err when delete volume failed Return err when delete volume failed **Release note**: ```release-note NONE ``` /kind bug /sig openstack
This commit is contained in:
commit
e8ee831abf
@ -374,7 +374,7 @@ func (os *OpenStack) DeleteVolume(volumeID string) error {
|
||||
if err != nil {
|
||||
glog.Errorf("Cannot delete volume %s: %v", volumeID, err)
|
||||
}
|
||||
return nil
|
||||
return err
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user