Skip to content

Commit

Permalink
fix: error in dns_secondary_zone module
Browse files Browse the repository at this point in the history
  • Loading branch information
rmocanu-ionos committed Jan 26, 2024
1 parent 53c81bf commit 746370c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/modules/dns_secondary_zone.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ def _remove_object(self, existing_object, clients):
def transfer_object(self, clients):
client = clients[0]
existing_object = get_resource(
self.module, self._get_object_list(self.module, client),
self._get_object_identifier(self.module), identity_paths=[['id'], ['properties', 'zone_name']],
self.module, self._get_object_list(clients),
self._get_object_identifier(), self.object_identity_paths,
)
ionoscloud_dns.SecondaryZonesApi(client).secondaryzones_axfr_put(existing_object.id)

Expand Down

0 comments on commit 746370c

Please sign in to comment.