fix: add missing source

This commit is contained in:
Jose Diaz-Gonzalez
2018-02-12 02:17:44 -05:00
parent 3f1de1fd10
commit 7a6d771689

View File

@@ -607,6 +607,7 @@ docker_cleanup() {
declare desc="cleans up all exited/dead containers and removes all dangling images"
declare APP="$1" FORCE_CLEANUP="$2"
local DOKKU_APP_SKIP_CLEANUP
source "$PLUGIN_AVAILABLE_PATH/config/functions"
if [[ "$FORCE_CLEANUP" != "true" ]]; then
[[ -z "$APP" ]] && DOKKU_APP_SKIP_CLEANUP="$(config_get "$APP" DOKKU_SKIP_CLEANUP || true)"