commit 20847c25a8157a10b765387ff8dbda31f8f4e91a
Author: Andrew Laski <email address hidden>
Date: Mon Aug 3 16:29:39 2015 -0400
Xen: convert image auto_disk_config value to bool before compare
During rescue mode the auto_disk_config value is pulled from the rescue
image if provided. The value is a string but it was being used as a
boolean in an 'if' statement, leading it to be True when it shouldn't
be. This converts it to a boolean value before comparison.
Reviewed: https:/ /review. openstack. org/208642 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=20847c25a81 57a10b765387ff8 dbda31f8f4e91a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 20847c25a8157a1 0b765387ff8dbda 31f8f4e91a
Author: Andrew Laski <email address hidden>
Date: Mon Aug 3 16:29:39 2015 -0400
Xen: convert image auto_disk_config value to bool before compare
During rescue mode the auto_disk_config value is pulled from the rescue
image if provided. The value is a string but it was being used as a
boolean in an 'if' statement, leading it to be True when it shouldn't
be. This converts it to a boolean value before comparison.
Change-Id: Ib7ffcab235ead0 e770800d33c4c7c ff131ca99f5
Closes-bug: 1481078