Merge "Properly log BlockDeviceMappingList in _create_block_device_mapping"

This commit is contained in:
Jenkins 2015-11-11 23:53:21 +00:00 committed by Gerrit Code Review
commit c52f18bcf1

View File

@ -1269,7 +1269,7 @@ class API(base.Base):
This method makes a copy of the list in order to avoid using the same
id field in case this is called for multiple instances.
"""
LOG.debug("block_device_mapping %s", block_device_mapping,
LOG.debug("block_device_mapping %s", list(block_device_mapping),
instance_uuid=instance_uuid)
instance_block_device_mapping = copy.deepcopy(block_device_mapping)
for bdm in instance_block_device_mapping: