aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xutils/openstack_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/openstack_utils.py b/utils/openstack_utils.py
index 8c2e00cb1..c53e631d0 100755
--- a/utils/openstack_utils.py
+++ b/utils/openstack_utils.py
@@ -239,7 +239,7 @@ def create_flavor(nova_client, flavor_name, ram, disk, vcpus):
try:
extra_specs = ft_utils.get_functest_config(
'general.flavor_extra_specs')
- flavor.update(extra_specs)
+ flavor.set_keys(extra_specs)
except ValueError:
# flavor extra specs are not configured, therefore skip the update
pass