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:
parent
e3eaf6766f
commit
04723e1a52
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue