From 832c8e5f097e26e43fdcd52e07c4d83c2df98ad3 Mon Sep 17 00:00:00 2001 From: Matt Davis Date: Tue, 21 Nov 2017 14:41:25 -0800 Subject: [PATCH] removed superfluous `type` field from RecordSet constructor (#33167) * fixes breaking change in Azure DNS Python SDK 1.2.0 * no apparent functional change (the arg appears to have been superfluous all along) (cherry picked from commit 64f4132571164d8a1d4db95b4bed1f5127367c9e) --- CHANGELOG.md | 3 ++- lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6a0de465b8c..e9b1a77ce02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -186,7 +186,8 @@ Ansible Changes By Release https://github.com/ansible/ansible/pull/32986 * Handle sets and datetime objects in inventory sources fixing tracebacks https://github.com/ansible/ansible/pull/32990 - +* Fix for breaking change to Azure Python SDK DNS RecordSet constructor in azure-mgmt-dns==1.2.0 + https://github.com/ansible/ansible/pull/33165 diff --git a/lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py b/lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py index 87db71ac665..c530cad1d45 100644 --- a/lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py +++ b/lib/ansible/modules/cloud/azure/azure_rm_dnsrecordset.py @@ -324,7 +324,6 @@ class AzureRMRecordSet(AzureRMModuleBase): if self.results['changed']: if self.state == 'present': record_set_args = dict( - type=self.record_type, ttl=self.time_to_live )