Merge "Deal with double-normalization of host_id"

This commit is contained in:
Zuul 2018-12-07 17:27:23 +00:00 committed by Gerrit Code Review
commit b31a8ed55b
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ class Normalizer(object):
'has_config_drive', server.pop('config_drive', False))
ret['has_config_drive'] = _to_bool(config_drive)
host_id = server.pop('hostId', None)
host_id = server.pop('hostId', server.pop('host_id', None))
ret['host_id'] = host_id
ret['progress'] = _pop_int(server, 'progress')