chore: minor cleanup to container and argument handling

This commit is contained in:
Jose Diaz-Gonzalez committed 2018-04-06 22:53:02 -04:00
1 parent 85b00385a4
commit 867e3317aa
7 files changed
+12 -10

No files matched your search

@@ -4,7 +4,9 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
dokku_cleanup_cmd() {
declare desc="cleans up old deployment cruft"
local cmd="cleanup"
declare cmd="cleanup"
[[ "$1" == "$cmd" ]] && shift 1
declare APP="$1"
docker_cleanup "$APP" "true"
}