Reviewed: https://review.openstack.org/60265 Committed: http://github.com/openstack/cinder/commit/1dff30492f0ce1df3ef01ccc21353248a7207709 Submitter: Jenkins Branch: master
commit 1dff30492f0ce1df3ef01ccc21353248a7207709 Author: Flavio Percoco <email address hidden> Date: Thu Dec 5 16:14:39 2013 +0100
Convert lvm_mirrors to int
When the location_info is parsed and `lvm_mirrors` extracted, it is not being converted to int. This causes some boolean checks to return True even when there are not mirrors enabled because of the u'0'.
Closes-bug: #1258133 Change-Id: I67c463d9f139fe326bbcab4d193c45459129b514
Reviewed: https:/ /review. openstack. org/60265 github. com/openstack/ cinder/ commit/ 1dff30492f0ce1d f3ef01ccc213532 48a7207709
Committed: http://
Submitter: Jenkins
Branch: master
commit 1dff30492f0ce1d f3ef01ccc213532 48a7207709
Author: Flavio Percoco <email address hidden>
Date: Thu Dec 5 16:14:39 2013 +0100
Convert lvm_mirrors to int
When the location_info is parsed and `lvm_mirrors` extracted, it is not
being converted to int. This causes some boolean checks to return True
even when there are not mirrors enabled because of the u'0'.
Closes-bug: #1258133 326bbcab4d193c4 5459129b514
Change-Id: I67c463d9f139fe