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:
Stephen Finucane 2016-01-18 09:53:17 +00:00 committed by Jakub Jasek
parent 58ebef5521
commit 76bd9162cb
1 changed files with 1 additions and 1 deletions

View File

@ -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)