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

fix adding flavors

parent 89ebb76d
No related branches found
No related tags found
1 merge request!7Resolve Refactoring
......@@ -31,7 +31,7 @@ def _add_flavors(definitions):
if "memory" not in host:
host["memory"] = FLAVORS[host["flavor"]]["memory"]
if "cpus" not in host:
host["memory"] = FLAVORS[host["flavor"]]["cpus"]
host["memory"] = FLAVORS[host["flavor"]]["cores"]
host.pop("flavor")
......
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