refactor: make variable as dns hostname more clear
This commit is contained in:
@@ -145,6 +145,6 @@ service_password() {
|
||||
service_url() {
|
||||
local SERVICE="$1"
|
||||
local PASSWORD="$(service_password "$SERVICE")"
|
||||
local SERVICE_ALIAS="$(service_alias "$SERVICE")"
|
||||
echo "$PLUGIN_SCHEME://$SERVICE:$PASSWORD@$SERVICE_ALIAS:${PLUGIN_DATASTORE_PORTS[0]}"
|
||||
local SERVICE_DNS_HOSTNAME="$(service_dns_hostname "$SERVICE")"
|
||||
echo "$PLUGIN_SCHEME://$SERVICE:$PASSWORD@$SERVICE_DNS_HOSTNAME:${PLUGIN_DATASTORE_PORTS[0]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user