1
0
Fork 0
mirror of https://github.com/ansible-collections/hetzner.hcloud.git synced 2026-02-04 08:01:49 +00:00

rename bound model methods

This commit is contained in:
jo 2025-12-09 12:51:06 +01:00
parent e3eaf6766f
commit 04723e1a52
No known key found for this signature in database
GPG key ID: B2FEC9B22722B984

View file

@ -204,11 +204,11 @@ class AnsibleStorageBoxSnapshot(AnsibleHCloud):
# Update only if params holds changes
if params:
if not self.module.check_mode:
self.storage_box_snapshot = self.storage_box_snapshot.update_snapshot(**params)
self.storage_box_snapshot = self.storage_box_snapshot.update(**params)
def _delete(self):
if not self.module.check_mode:
resp = self.storage_box_snapshot.delete_snapshot()
resp = self.storage_box_snapshot.delete()
resp.action.wait_until_finished()
self.storage_box_snapshot = None