diff --git a/cli/app/remove.go b/cli/app/remove.go index 6c0378e8..ace1a609 100644 --- a/cli/app/remove.go +++ b/cli/app/remove.go @@ -120,8 +120,7 @@ flag. } if len(vols) > 0 { - var removeVols []string - for _, vol := range removeVols { + for _, vol := range vols { err := cl.VolumeRemove(context.Background(), vol, internal.Force) // last argument is for force removing if err != nil { logrus.Fatal(err)