Remove service verification from service_url function
It is not necessary to do so in a function that is called from other places that already verify the name.
This commit is contained in:
@@ -43,7 +43,6 @@ service_alias() {
|
|||||||
service_url() {
|
service_url() {
|
||||||
local SERVICE="$1";
|
local SERVICE="$1";
|
||||||
local SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
|
local SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
|
||||||
verify_service_name "$1"
|
|
||||||
|
|
||||||
local ID="$(cat "$SERVICE_ROOT/ID")"
|
local ID="$(cat "$SERVICE_ROOT/ID")"
|
||||||
local IP="$(get_container_ip "$ID")"
|
local IP="$(get_container_ip "$ID")"
|
||||||
|
|||||||
Reference in New Issue
Block a user