feat: add support for --global flag when calling dokku domains

This commit is contained in:
Jose Diaz-Gonzalez
2017-01-09 02:34:48 -07:00
parent 6e00064cb3
commit c216b3be7f
2 changed files with 6 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ domains_main_cmd() {
dokku_log_info2_quiet "Global Domain Name"
get_global_vhosts
fi
if [[ "$APP" == "--global" ]]; then
return
fi
if [[ -n "$APP" ]]; then
verify_app_name "$APP"
if [[ -f "$DOKKU_ROOT/$APP/VHOST" ]]; then