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

This commit is contained in:
Moritz 2023-03-30 13:40:44 +02:00
parent 9ade250f01
commit ee4315adb3
1 changed files with 1 additions and 2 deletions

View File

@ -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)