Browse Source

Convert domain to lower case, needed for Constellix REST API

wout 2 tháng trước cách đây
mục cha
commit
ab22c8ca1c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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"