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

Fixed error where recordset relative did not exist #706

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions plugins/modules/azure_rm_dnsrecordset_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,9 +231,10 @@ def get_item(self):
try:
item = self.dns_client.record_sets.get(self.resource_group, self.zone_name, self.relative_name, self.record_type)
except CloudError:
results = []
pass

results = [item]
else:
results = [item]
return results

def list_type(self):
Expand Down
6 changes: 0 additions & 6 deletions tests/sanity/ignore-2.13.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,7 @@ plugins/modules/azure_rm_deployment.py validate-modules:parameter-type-not-in-do
plugins/modules/azure_rm_deployment.py validate-modules:return-syntax-error
plugins/modules/azure_rm_deployment_info.py validate-modules:parameter-type-not-in-doc
plugins/modules/azure_rm_deployment_info.py validate-modules:return-syntax-error
plugins/modules/azure_rm_dnsrecordset.py validate-modules:doc-missing-type
plugins/modules/azure_rm_dnsrecordset.py validate-modules:parameter-type-not-in-doc
plugins/modules/azure_rm_dnsrecordset.py validate-modules:doc-elements-mismatch
plugins/modules/azure_rm_dnsrecordset.py validate-modules:invalid-ansiblemodule-schema
plugins/modules/azure_rm_dnsrecordset.py validate-modules:return-syntax-error
plugins/modules/azure_rm_dnsrecordset_info.py validate-modules:parameter-type-not-in-doc
plugins/modules/azure_rm_dnsrecordset_info.py validate-modules:return-syntax-error
plugins/modules/azure_rm_dnszone.py validate-modules:parameter-type-not-in-doc
plugins/modules/azure_rm_dnszone.py validate-modules:doc-elements-mismatch
plugins/modules/azure_rm_dnszone_info.py validate-modules:doc-type-does-not-match-spec
Expand Down