mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Change function name
More generic
This commit is contained in:
parent
f6ab3417c9
commit
d506fb7158
1 changed files with 2 additions and 2 deletions
|
@ -399,7 +399,7 @@ class Proxmox:
|
||||||
|
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def resize_instances(self, url, nodename, category, instanceid, data):
|
def change_instances(self, url, nodename, category, instanceid, data):
|
||||||
"""
|
"""
|
||||||
:param url:
|
:param url:
|
||||||
:param nodename:
|
:param nodename:
|
||||||
|
@ -435,7 +435,7 @@ class Proxmox:
|
||||||
"result": "ERROR",
|
"result": "ERROR",
|
||||||
"target": "{0}".format(nodename),
|
"target": "{0}".format(nodename),
|
||||||
"type": "PYTHON",
|
"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
|
return result
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue