mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 13:11:41 +00:00
fix: fix wrong debug output
This commit is contained in:
parent
7db592d27a
commit
28ce1c1249
@ -66,7 +66,7 @@ dns_huaweicloud_rm() {
|
|||||||
|
|
||||||
# Remove all records
|
# Remove all records
|
||||||
while [ "${record_id}" != "0" ]; do
|
while [ "${record_id}" != "0" ]; do
|
||||||
_debug "Adding Record"
|
_debug "Removing Record"
|
||||||
_rm_record "${token}" "${zoneid}" "${record_id}"
|
_rm_record "${token}" "${zoneid}" "${record_id}"
|
||||||
record_id="$(_get_recordset_id "${token}" "${fulldomain}" "${zoneid}")"
|
record_id="$(_get_recordset_id "${token}" "${fulldomain}" "${zoneid}")"
|
||||||
done
|
done
|
||||||
@ -158,7 +158,7 @@ _rm_record() {
|
|||||||
export _H2="Content-Type: application/json"
|
export _H2="Content-Type: application/json"
|
||||||
export _H1="X-Auth-Token: ${_token}"
|
export _H1="X-Auth-Token: ${_token}"
|
||||||
|
|
||||||
_post "${body}" "${dns_api}/v2/zones/${_zone_id}/recordsets/${_record_id}" false "DELETE"
|
_post "${body}" "${dns_api}/v2/zones/${_zone_id}/recordsets/${_record_id}" false "DELETE" >/dev/null
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user