fixed error in CI
parent
a3089a719f
commit
89e73594eb
|
@ -123,7 +123,7 @@ _get_root() {
|
||||||
|
|
||||||
response="$(_get "https://www.one.com/admin/api/domains/$h/dns/custom_records")"
|
response="$(_get "https://www.one.com/admin/api/domains/$h/dns/custom_records")"
|
||||||
|
|
||||||
if ! _contains "$response" "CRMRST_000302" ; then
|
if ! _contains "$response" "CRMRST_000302"; then
|
||||||
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
|
||||||
_domain="$h"
|
_domain="$h"
|
||||||
return 0
|
return 0
|
||||||
|
|
Loading…
Reference in New Issue