commit c31ae4987c5ae2015cc5379a4717490b75c62c9e
Author: Paul Murray <email address hidden>
Date: Mon Oct 14 17:44:20 2013 +0100
Improve logging messages in libvirt driver
This is a trivial change to correct an uninformative log message.
There are two checks in get_instance_disk_info that look at a disk.
One checks for the type of a disk and logs its path if it is not a file.
The other checks for the path and logs the instance name it belongs to
if it does not exist. The first will log None if the path does not exist,
so reverse the order of the checks.
Reviewed: https:/ /review. openstack. org/51663 github. com/openstack/ nova/commit/ c31ae4987c5ae20 15cc5379a471749 0b75c62c9e
Committed: http://
Submitter: Jenkins
Branch: master
commit c31ae4987c5ae20 15cc5379a471749 0b75c62c9e
Author: Paul Murray <email address hidden>
Date: Mon Oct 14 17:44:20 2013 +0100
Improve logging messages in libvirt driver
This is a trivial change to correct an uninformative log message. disk_info that look at a disk.
There are two checks in get_instance_
One checks for the type of a disk and logs its path if it is not a file.
The other checks for the path and logs the instance name it belongs to
if it does not exist. The first will log None if the path does not exist,
so reverse the order of the checks.
Closes-Bug: #1239747 9dc55f40e0172cf 5ed41e86fbe
Change-Id: Ieb52ba0584ad78