Merge pull request #2945 from ianw/rax-lookup

dns_rackspace: search for domain
This commit is contained in:
neil 2020-05-19 22:12:45 +08:00 committed by GitHub
commit 47702d075e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ _get_root_zone() {
#not valid
return 1
fi
if ! _rackspace_rest GET "$RACKSPACE_Tenant/domains"; then
if ! _rackspace_rest GET "$RACKSPACE_Tenant/domains/search?name=$h"; then
return 1
fi
_debug2 response "$response"