summaryrefslogtreecommitdiffstats
path: root/utils/openstack_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/openstack_utils.py')
-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 5a4775d3a..d528549a1 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