Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dns_huaweicloud.sh minor bug fixes #3887

Closed
wants to merge 1 commit into from
Closed

dns_huaweicloud.sh minor bug fixes #3887

wants to merge 1 commit into from

Conversation

tutugreen
Copy link
Contributor

  1. 接口是模糊搜索,在账户添加了二级域名、相同结尾域名等情况下,会返回多条结果。
    在原脚本基础上增加对返回体判断,遍历取所需ZoneID。
    Fix Report bugs to HuaweiCloud DNS API #3265 (comment)

  2. 以 '"id"' 方式判断record是否存在,修复域名不能包含"id"的问题。
    Fix Report bugs to HuaweiCloud DNS API #3265 (comment)

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".
@tutugreen tutugreen closed this Jan 13, 2022
@tutugreen tutugreen deleted the patch-3 branch January 13, 2022 13:59
@tutugreen tutugreen restored the patch-3 branch January 14, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant