Commit Graph

14 Commits (13c71829485aac03e1d0da98784ea50e983e73cd)

Author SHA1 Message Date
Yuan Ming 9088c8741a
Fix dns_huaweicloud subshell return
Replace pipe read with line count loop, fix useless return in subshell.
Yuan Ming 9d2ee2127d
dns_huaweicloud debug info adjust
_secure_debug for sensitive token.
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)
Easton Man 86639dbc02
feat: add huaweicloud error handling
Easton Man fd511966a7 fix: revert adding tr to replace sed
Easton Man c4ddddd434 refactor: remove dirty debug code
- add tr to replace sed for robusty
- add comments
Easton Man 83a4db3b31 fix: remove sed before grep, but lead to less robusty
Easton Man e35ef75949 fix: fix solaris sed and grep issue
Easton Man 5d0657c49a fix: fix adding record before removing
Easton Man f6f6550bfb feat: add very tricky method to adapt to non-intuitive huaweicloud api
Easton Man e01fb50359 feat: add env var check
Easton Man 28ce1c1249 fix: fix wrong debug output
Easton Man 7db592d27a fix: fix failing ci test
Easton Man b8e5c0d898 feat: Add huaweicloud intl dnsapi