diff --git a/modules/preprocessing.py b/modules/preprocessing.py index 01054bfa226618ef4644c1887ed9882e8f2a324f..b28f3ac08e2c681785cf0b923802e9b499d077b3 100644 --- a/modules/preprocessing.py +++ b/modules/preprocessing.py @@ -45,7 +45,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"]]["cores"] + host["cpus"] = FLAVORS[host["flavor"]]["cores"] host.pop("flavor")