浏览代码

Convert domain to lower case, needed for Constellix REST API

wout 2 月之前
父节点
当前提交
ab22c8ca1c
共有 1 个文件被更改,包括 1 次插入1 次删除
  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"