refactor: allow skipping cleanup on a per-application basis

Also move all cleanup-related logic into docker_cleanup method
This commit is contained in:
Jose Diaz-Gonzalez committed 2017-07-02 16:54:26 -06:00
1 parent 191ae25f63
commit 79f8c1581c
3 files changed
+17 -8

No files matched your search

@@ -6,7 +6,7 @@ dokku_cleanup_cmd(){
declare desc="cleans up old deployment cruft"
local cmd="cleanup"
docker_cleanup
docker_cleanup "$APP" "true"
}