• Kubernetes Submit Queue's avatar
    Merge pull request #42721 from NickrenREN/pv-provisionClaimOperation · 81d9e7f6
    Kubernetes Submit Queue authored
    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
    81d9e7f6
Name
Last commit
Last update
..
options Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
binder_test.go Loading commit data...
delete_test.go Loading commit data...
framework_test.go Loading commit data...
index.go Loading commit data...
index_test.go Loading commit data...
provision_test.go Loading commit data...
pv_controller.go Loading commit data...
pv_controller_base.go Loading commit data...
pv_controller_test.go Loading commit data...
recycle_test.go Loading commit data...
volume_host.go Loading commit data...