Correct metadata option name
The names of the instance and image metadata options used for CPU threads has changed. Update this. Change-Id: I3b7537e79aa762a5f8fb0590afab165904202e33 Partial-Bug: #1535812
This commit is contained in:
parent
58ebef5521
commit
76bd9162cb
|
@ -111,7 +111,7 @@ class FlavorsAdminTestJSON(base.BaseV2ComputeAdminTest):
|
|||
|
||||
specs = {'hw:cpu_policy': cpu_policy}
|
||||
if cpu_policy == 'dedicated':
|
||||
specs['hw:cpu_threads_policy'] = cpu_threads_policy
|
||||
specs['hw:cpu_thread_policy'] = cpu_threads_policy
|
||||
|
||||
self.flavors_client.set_flavor_extra_spec(flavor['id'], **specs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue