From 04723e1a526d03dfad1d0cf1681bea3b4cec5cfb Mon Sep 17 00:00:00 2001 From: jo Date: Tue, 9 Dec 2025 12:51:06 +0100 Subject: [PATCH] rename bound model methods --- plugins/modules/storage_box_snapshot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/modules/storage_box_snapshot.py b/plugins/modules/storage_box_snapshot.py index 1b1ac59..b4b8c81 100644 --- a/plugins/modules/storage_box_snapshot.py +++ b/plugins/modules/storage_box_snapshot.py @@ -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