From 448c90343fed35c4d8432d6e7197390b3b38e9e6 Mon Sep 17 00:00:00 2001 From: Attila Farkas <x394097@fi.muni.cz> Date: Tue, 7 Apr 2020 20:20:45 +0200 Subject: [PATCH] fix adding flavors --- modules/preprocessing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/preprocessing.py b/modules/preprocessing.py index 88f7197..5f97a38 100644 --- a/modules/preprocessing.py +++ b/modules/preprocessing.py @@ -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") -- GitLab