Quote more variables
This commit is contained in:
@@ -305,8 +305,8 @@ service_url() {
|
||||
echo "$PLUGIN_SCHEME://mysql:$PASSWORD@$SERVICE_ALIAS:${PLUGIN_DATASTORE_PORTS[0]}/$SERVICE"
|
||||
}
|
||||
|
||||
is_container_status () {
|
||||
local CID=$1
|
||||
is_container_status() {
|
||||
local CID="$1"
|
||||
local TEMPLATE="{{.State.$2}}"
|
||||
local CONTAINER_STATUS=$(docker inspect -f "$TEMPLATE" "$CID" || true)
|
||||
|
||||
@@ -383,7 +383,7 @@ service_linked_apps() {
|
||||
}
|
||||
|
||||
update_plugin_scheme_for_app() {
|
||||
local APP=$1
|
||||
local APP="$1"
|
||||
local MYSQL_DATABASE_SCHEME=$(config_get "$APP" MYSQL_DATABASE_SCHEME)
|
||||
PLUGIN_SCHEME=${MYSQL_DATABASE_SCHEME:-$PLUGIN_SCHEME}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user