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

View File

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