Merge "VMware: remove redundant check for block devices"

This commit is contained in:
Jenkins 2015-07-29 06:00:59 +00:00 committed by Gerrit Code Review
commit 65d4884199
1 changed files with 1 additions and 1 deletions

View File

@ -638,7 +638,7 @@ class VMwareVMOps(object):
else:
self._use_disk_image_as_full_clone(vm_ref, vi)
if len(block_device_mapping) > 0:
if block_device_mapping:
msg = "Block device information present: %s" % block_device_info
# NOTE(mriedem): block_device_info can contain an auth_password
# so we have to scrub the message before logging it.