fix(rm): remove volumes correctly during app removal
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Moritz 2023-03-30 13:40:44 +02:00
parent 9ade250f01
commit ee4315adb3

View File

@ -120,8 +120,7 @@ flag.
} }
if len(vols) > 0 { if len(vols) > 0 {
var removeVols []string for _, vol := range vols {
for _, vol := range removeVols {
err := cl.VolumeRemove(context.Background(), vol, internal.Force) // last argument is for force removing err := cl.VolumeRemove(context.Background(), vol, internal.Force) // last argument is for force removing
if err != nil { if err != nil {
logrus.Fatal(err) logrus.Fatal(err)