|
@ -14,7 +14,7 @@ get_domain() { |
|
|
elif [[ "$BASE_SERVICE_NAME" =~ ^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$ ]]; then |
|
|
elif [[ "$BASE_SERVICE_NAME" =~ ^([a-z0-9]+(-[a-z0-9]+)*\.)+[a-z]{2,}$ ]]; then |
|
|
echo "$BASE_SERVICE_NAME" | tee "$cache_file" |
|
|
echo "$BASE_SERVICE_NAME" | tee "$cache_file" |
|
|
else |
|
|
else |
|
|
err "You must specify a ${WHITE}domain$NORMAL option. (${FUNCNAME[@]})" |
|
|
|
|
|
|
|
|
err "You must specify a ${WHITE}domain$NORMAL option. (${FUNCNAME[*]})" |
|
|
return 1 |
|
|
return 1 |
|
|
fi |
|
|
fi |
|
|
} |
|
|
} |
|
|