Browse Source

fix: fix failing ci test

pull/3262/head
Easton Man 4 years ago
parent
commit
7db592d27a
  1. 2
      dnsapi/dns_huaweicloud.sh

2
dnsapi/dns_huaweicloud.sh

@ -63,6 +63,8 @@ dns_huaweicloud_rm() {
_debug "${zoneid}" _debug "${zoneid}"
record_id="$(_get_recordset_id "${token}" "${fulldomain}" "${zoneid}")" record_id="$(_get_recordset_id "${token}" "${fulldomain}" "${zoneid}")"
_debug "Record Set ID is: ${record_id}" _debug "Record Set ID is: ${record_id}"
# Remove all records
while [ "${record_id}" != "0" ]; do while [ "${record_id}" != "0" ]; do
_debug "Adding Record" _debug "Adding Record"
_rm_record "${token}" "${zoneid}" "${record_id}" _rm_record "${token}" "${zoneid}" "${record_id}"

Loading…
Cancel
Save