kubernetes/pkg/controller/volume/persistentvolume
Kubernetes Submit Queue 81d9e7f68a Merge pull request #42721 from NickrenREN/pv-provisionClaimOperation
Automatic merge from submit-queue

fix createProvisionedPV result err judgenment bug

When ctrl.kubeClient.Core().PersistentVolumes().Create(volume) returns no err, and storeVolumeUpdate() fails, we save PV sucessfully ,but here err is not nil,we should not run the codes next in block if err != nil {} to delete the storage asset.
same in the deletion retries below
change the err names to make it clear
**Release note**:
```release-note
NONE
```
@jsafrane @saad-ali  PTAL. Thanks
2017-03-26 23:30:34 -07:00
..
options Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
binder_test.go PV controller: use attributes instead of beta annotations in unit tests 2017-03-02 10:23:56 +01:00
BUILD Regenerate everything 2017-03-02 10:23:58 +01:00
delete_test.go PV controller: use attributes instead of beta annotations in unit tests 2017-03-02 10:23:56 +01:00
framework_test.go Merge pull request #41306 from gnufied/implement-interface-bulk-volume-poll 2017-03-03 10:54:38 -08:00
index.go Move PV/PVC annotations to PV/PVC types. 2017-03-02 10:23:55 +01:00
index_test.go PV controller: use attributes instead of beta annotations in unit tests 2017-03-02 10:23:56 +01:00
OWNERS Update OWNERS approvers and reviewers: pkg/controller 2016-11-02 16:19:18 -07:00
provision_test.go PV controller: use attributes instead of beta annotations in unit tests 2017-03-02 10:23:56 +01:00
pv_controller.go fix createProvisionedPV result err judgenment bug 2017-03-25 10:48:16 +08:00
pv_controller_base.go Fix PVC Annotations 2017-03-25 10:42:04 +08:00
pv_controller_test.go PV controller: use attributes instead of beta annotations in unit tests 2017-03-02 10:23:56 +01:00
recycle_test.go PV controller: use attributes instead of beta annotations in unit tests 2017-03-02 10:23:56 +01:00
volume_host.go SecretVolume using secret manager 2017-01-23 16:10:01 +01:00