Yuan Ming
e49ece8793
dns_huaweicloud.sh minor bug fixes
...
1. Match zone name in response in case multiple items return.
2. Use string '"id"' (single quotation marks added) to check if zone/record exist in _get_zoneid() & _get_recordset_id(). Fix domain can't contain string "id".
(Sensitive _debug Access Token Commented out, For CICD Run)
2022-01-14 22:10:26 +08:00
Easton Man
86639dbc02
feat: add huaweicloud error handling
2021-02-15 15:18:49 +08:00
Easton Man
fd511966a7
fix: revert adding tr to replace sed
2020-11-24 12:58:16 +08:00
Easton Man
c4ddddd434
refactor: remove dirty debug code
...
- add tr to replace sed for robusty
- add comments
2020-11-24 10:05:34 +08:00
Easton Man
83a4db3b31
fix: remove sed before grep, but lead to less robusty
2020-11-23 23:46:06 +08:00
Easton Man
e35ef75949
fix: fix solaris sed and grep issue
2020-11-23 22:18:57 +08:00
Easton Man
5d0657c49a
fix: fix adding record before removing
2020-11-23 14:57:33 +08:00
Easton Man
f6f6550bfb
feat: add very tricky method to adapt to non-intuitive huaweicloud api
2020-11-23 14:25:48 +08:00
Easton Man
e01fb50359
feat: add env var check
2020-11-23 00:32:50 +08:00
Easton Man
28ce1c1249
fix: fix wrong debug output
2020-11-23 00:20:57 +08:00
Easton Man
7db592d27a
fix: fix failing ci test
2020-11-23 00:20:57 +08:00
Easton Man
b8e5c0d898
feat: Add huaweicloud intl dnsapi
2020-11-23 00:20:57 +08:00