Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit 49eb961

Browse files
author
Kubernetes Submit Queue
authored
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
2 parents b1a9813 + f18b9e6 commit 49eb961

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/cloudprovider/providers/openstack/openstack_volumes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ func (os *OpenStack) DeleteVolume(volumeID string) error {
374374
if err != nil {
375375
glog.Errorf("Cannot delete volume %s: %v", volumeID, err)
376376
}
377-
return nil
377+
return err
378378

379379
}
380380

0 commit comments

Comments
 (0)