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:
Jose Diaz-Gonzalez
2015-08-29 02:49:50 -04:00
parent aa99da13cc
commit 2c7d4e5c77

View File

@@ -43,7 +43,6 @@ service_alias() {
service_url() {
local SERVICE="$1";
local SERVICE_ROOT="$PLUGIN_DATA_ROOT/$SERVICE"
verify_service_name "$1"
local ID="$(cat "$SERVICE_ROOT/ID")"
local IP="$(get_container_ip "$ID")"