Replace underscore by dash in exposed hostname

Fixes #28
This commit is contained in:
Loïc Guitaut
2015-09-29 18:51:49 +02:00
parent 78314ef8ad
commit f0a647053b
2 changed files with 9 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ verify_service_name() {
service_alias() {
local SERVICE="$1"
local SERVICE_NAME=$(get_service_name "$SERVICE")
echo "$SERVICE_NAME" | tr . -
echo "$SERVICE_NAME" | tr ._ -
}
service_info() {