change "disk" to "disks"
this is the supplement of https://review.openstack.org/#/c/373271/ Change-Id: I091ba0f74103eb2221fe129d4a983edaacfa221c Signed-off-by: Zhou Ya <zhou.ya@zte.com.cn>
This commit is contained in:
@@ -549,7 +549,7 @@ class Controller(controller.BaseController):
|
||||
host_meta['config_set_id'])
|
||||
|
||||
for ironic_keyword in ['cpu', 'system', 'memory',
|
||||
'pci', 'disk', 'devices']:
|
||||
'pci', 'disks', 'devices']:
|
||||
if host_meta.get(ironic_keyword):
|
||||
host_meta[ironic_keyword] = eval(host_meta.get(ironic_keyword))
|
||||
|
||||
|
Reference in New Issue
Block a user