From 80098238672dc8010591943162334ea21a7e22e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E6=8C=AF=E5=85=B410069964?= Date: Fri, 16 Apr 2021 09:02:21 +0800 Subject: [PATCH] code cleanup:remove redundant return statement in pv_controller.go --- pkg/controller/volume/persistentvolume/pv_controller.go | 1 - 1 file changed, 1 deletion(-) diff --git a/pkg/controller/volume/persistentvolume/pv_controller.go b/pkg/controller/volume/persistentvolume/pv_controller.go index c0865c34d23..b74226b77bc 100644 --- a/pkg/controller/volume/persistentvolume/pv_controller.go +++ b/pkg/controller/volume/persistentvolume/pv_controller.go @@ -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