mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +00:00
Insert "groups" as required key
This commit is contained in:
parent
59def81d7a
commit
91c3dd7c2a
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ class Core:
|
||||||
|
|
||||||
|
|
||||||
def valid_clusters_data(data):
|
def valid_clusters_data(data):
|
||||||
key_required = ["name", "url", "port", "user", "password", "template", "storage_disk", "weight", "exclude_nodes"]
|
key_required = ["name", "url", "port", "user", "password", "template", "storage_disk", "weight", "exclude_nodes", "groups"]
|
||||||
result = []
|
result = []
|
||||||
for key in key_required:
|
for key in key_required:
|
||||||
if key not in data:
|
if key not in data:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue