Browse Source

fixed error in CI

pull/2276/head
der-berni 6 years ago
committed by GitHub
parent
commit
89e73594eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_one.sh

2
dnsapi/dns_one.sh

@ -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…
Cancel
Save