Skip to content
Snippets Groups Projects
Commit a001c486 authored by Attila Farkas's avatar Attila Farkas
Browse files

Merge branch 'master' of gitlab.ics.muni.cz:muni-kypo-csc/cyber-sandbox-creator into version-2.0.0

parents 4f728420 8cdf4ab0
No related branches found
No related tags found
1 merge request!32Version 2.0.0
......@@ -53,7 +53,7 @@ def _add_extra_arguments(definitions, flags):
def _add_flavors(definitions):
"""Change flavor attribute to cpus and memory."""
for host in definitions["hosts"]:
if "flavor" in host:
if "flavor" in host and host["flavor"]:
if host["flavor"] not in FLAVORS:
print("Error: Not supported flavor: " + host["flavor"])
raise AttributeError
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment