code cleanup:remove redundant return statement in pv_controller.go

This commit is contained in:
卢振兴10069964 2021-04-16 09:02:21 +08:00
parent 6cc27991e9
commit 8009823867

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)
return
}
return
}
// deleteVolumeOperation deletes a volume. This method is running in standalone