Fix call of DecortController.disk_rename method in decort_disk.action method

This commit is contained in:
2024-05-23 19:00:29 +03:00
parent 36e1383c7e
commit 772f389d98

View File

@@ -325,7 +325,7 @@ class decort_disk(DecortController):
self.disk_restore(self.disk_id) self.disk_restore(self.disk_id)
#rename if id present #rename if id present
if self.amodule.params['name'] != self.disk_info['name']: if self.amodule.params['name'] != self.disk_info['name']:
self.disk_rename(diskId=self.disk_id, self.disk_rename(disk_id=self.disk_id,
name=self.amodule.params['name']) name=self.amodule.params['name'])
self.disk_info['name'] = self.amodule.params['name'] self.disk_info['name'] = self.amodule.params['name']
#resize #resize