fix: use correct parameter for APP name
This commit is contained in:
committed by
GitHub
parent
58332d707b
commit
226a3da87d
@@ -7,7 +7,7 @@ source "$PLUGIN_AVAILABLE_PATH/ps/functions"
|
|||||||
ps_restore_cmd() {
|
ps_restore_cmd() {
|
||||||
declare desc="starts all apps with DOKKU_APP_RESTORE not set to 0 via command line"
|
declare desc="starts all apps with DOKKU_APP_RESTORE not set to 0 via command line"
|
||||||
local cmd="ps:restore"
|
local cmd="ps:restore"
|
||||||
local APP="$1"
|
local APP="$2"
|
||||||
|
|
||||||
if [[ -n "$APP" ]]; then
|
if [[ -n "$APP" ]]; then
|
||||||
DOKKU_APP_RESTORE="$(config_get "$APP" DOKKU_APP_RESTORE || true)"
|
DOKKU_APP_RESTORE="$(config_get "$APP" DOKKU_APP_RESTORE || true)"
|
||||||
|
|||||||
Reference in New Issue
Block a user