chore: remove duplicate docker_cleanup call

This is already called during apps_destroy
This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-17 06:23:14 -05:00
1 parent 5dd297bb49
commit 799a5713c2
1 file changed
-1
-1
View File
@@ -27,7 +27,6 @@ cmd-apps-rename() {
plugn trigger post-app-rename-setup "$OLD_APP" "$NEW_APP" plugn trigger post-app-rename-setup "$OLD_APP" "$NEW_APP"
DOKKU_APPS_FORCE_DELETE=1 apps_destroy "$OLD_APP" DOKKU_APPS_FORCE_DELETE=1 apps_destroy "$OLD_APP"
plugn trigger post-app-rename "$OLD_APP" "$NEW_APP" plugn trigger post-app-rename "$OLD_APP" "$NEW_APP"
docker_cleanup "$OLD_APP" "true"
echo "Renaming $OLD_APP to $NEW_APP... done" echo "Renaming $OLD_APP to $NEW_APP... done"
} }