Merge pull request #101175 from lojies/cleanupforpvcontroller

code cleanup:remove redundant return statement in pv_controller.go
This commit is contained in:
Kubernetes Prow Robot
2021-05-24 21:48:49 -07:00
committed by GitHub

View File

@@ -1223,7 +1223,6 @@ func (ctrl *PersistentVolumeController) recycleVolumeOperation(volume *v1.Persis
klog.V(3).Infof("recycleVolumeOperation [%s]: failed to make recycled volume 'Available' (%v), we will recycle the volume again", volume.Name, err) klog.V(3).Infof("recycleVolumeOperation [%s]: failed to make recycled volume 'Available' (%v), we will recycle the volume again", volume.Name, err)
return return
} }
return
} }
// deleteVolumeOperation deletes a volume. This method is running in standalone // deleteVolumeOperation deletes a volume. This method is running in standalone