Explorar o código

Convert domain to lower case, needed for Constellix REST API

wout hai 2 meses
pai
achega
ab22c8ca1c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      dnsapi/dns_constellix.sh

+ 1 - 1
dnsapi/dns_constellix.sh

@@ -117,7 +117,7 @@ dns_constellix_rm() {
 ####################  Private functions below ##################################
 
 _get_root() {
-  domain=$1
+  domain=$(echo "$1" | _lower_case)
   i=2
   p=1
   _debug "Detecting root zone"