summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorAnthony Woods <awoods@internap.com>2013-06-16 22:36:18 +0800
committerAnthony Woods <awoods@internap.com>2013-06-20 22:12:09 +0800
commit8ae97f24b0c806a438456170959ae527ce33ad01 (patch)
tree26e1e4330998bb4882796f36481505c491cefb23 /nova/utils.py
parent75ead3a2a37efbc6a4fdea7e492ca41cdd559a8c (diff)
downloadnova-8ae97f24b0c806a438456170959ae527ce33ad01.tar.gz
nova-8ae97f24b0c806a438456170959ae527ce33ad01.tar.xz
nova-8ae97f24b0c806a438456170959ae527ce33ad01.zip
fixes nova resize bug when force_config_drive is set.
If files is None, set contents=[] when calling instance_metadata.InstanceMetadata from within _create_image() to prevent the method trying to iterate a NoneType. Fixes bug 1183003 Change-Id: I0ac18ad5363ab9496fa83d231d7ec7c59d737691
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions