From d506fb7158e43ce2f6f2a7671fa7684914e793bc Mon Sep 17 00:00:00 2001 From: Tlams Date: Tue, 20 Mar 2018 15:45:50 +0000 Subject: [PATCH] Change function name More generic --- code/scripts/main/core/modules/mod_proxmox.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/scripts/main/core/modules/mod_proxmox.py b/code/scripts/main/core/modules/mod_proxmox.py index 7b7d0e8..7e2c72e 100644 --- a/code/scripts/main/core/modules/mod_proxmox.py +++ b/code/scripts/main/core/modules/mod_proxmox.py @@ -399,7 +399,7 @@ class Proxmox: return result - def resize_instances(self, url, nodename, category, instanceid, data): + def change_instances(self, url, nodename, category, instanceid, data): """ :param url: :param nodename: @@ -435,7 +435,7 @@ class Proxmox: "result": "ERROR", "target": "{0}".format(nodename), "type": "PYTHON", - "value": "Cannot resize this instance {2} on {0} : ({1})".format(url, e, instanceid) + "value": "Cannot change settings for this instance {2} on {0} : ({1})".format(url, e, instanceid) } return result