Merge pull request #3382 from dokku/fix-global-cleanup

Set cleanup to global when no application is specified
This commit is contained in:
Jose Diaz-Gonzalez
2019-01-07 16:11:02 -05:00
committed by GitHub

View File

@@ -9,6 +9,10 @@ dokku_cleanup_cmd() {
[[ "$1" == "$cmd" ]] && shift 1
declare APP="$1"
if [[ -z "$APP" ]]; then
APP="--global"
fi
docker_cleanup "$APP" "true"
}