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:
Zhou Ya
2016-09-22 15:07:04 +08:00
parent caa9c11e4a
commit fec5d66a7d

View File

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