Prechádzať zdrojové kódy

Fix DNS_USER variable names

In all other files DNS_USER variable is in upper case, here in lower case and when adding remote dns host you are not able to change DNS_USER
kotso 11 rokov pred
rodič
commit
809c4b41e1
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      bin/v-add-remote-dns-host

+ 3 - 0
bin/v-add-remote-dns-host

@@ -17,6 +17,9 @@ password=$4
 type=${5-api}
 type=${5-api}
 dns_user=${6-dns-cluster}
 dns_user=${6-dns-cluster}
 
 
+# fix for variable name in other files
+DNS_USER=$dns_user
+
 # Includes
 # Includes
 source $VESTA/func/main.sh
 source $VESTA/func/main.sh
 source $VESTA/func/remote.sh
 source $VESTA/func/remote.sh