use declare for description variable
This commit is contained in:
@@ -4,7 +4,7 @@ source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/proxy/functions"
|
||||
|
||||
proxy_main_cmd() {
|
||||
local desc="displays app proxy implementation via command line"
|
||||
declare desc="displays app proxy implementation via command line"
|
||||
local cmd="proxy"
|
||||
local ALL_APPS=$(dokku_apps)
|
||||
if [[ -n "$2" ]]; then
|
||||
|
||||
@@ -5,7 +5,7 @@ source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/proxy/functions"
|
||||
|
||||
proxy_disable_cmd() {
|
||||
local desc="disable proxy for app via command line"
|
||||
declare desc="disable proxy for app via command line"
|
||||
local cmd="proxy:disable"
|
||||
[[ -z $1 ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||
local APP="$1"; verify_app_name "$APP"
|
||||
|
||||
@@ -5,7 +5,7 @@ source "$PLUGIN_AVAILABLE_PATH/config/functions"
|
||||
source "$PLUGIN_AVAILABLE_PATH/proxy/functions"
|
||||
|
||||
proxy_enable_cmd() {
|
||||
local desc="enable proxy for app via command line"
|
||||
declare desc="enable proxy for app via command line"
|
||||
local cmd="proxy:enable"
|
||||
[[ -z $1 ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||
local APP="$1"; verify_app_name "$APP"
|
||||
|
||||
@@ -3,7 +3,7 @@ set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
|
||||
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
|
||||
|
||||
proxy_set_cmd() {
|
||||
local desc="enable proxy for app via command line"
|
||||
declare desc="enable proxy for app via command line"
|
||||
local cmd="proxy:set"
|
||||
[[ -z $2 ]] && dokku_log_fail "Please specify an app to run the command on"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user