]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Fix bug where image size is incorrectly rejected.
authorDermot Tynan <tynan@hp.com>
Thu, 30 Aug 2012 17:38:22 +0000 (17:38 +0000)
committerDermot Tynan <tynan@hp.com>
Tue, 4 Sep 2012 15:05:11 +0000 (15:05 +0000)
commitffe5036fa0e63ccde2d19aa0f425ec43de338dd7
treefbceb17780f4c1145893a8e7438f228898eb117c
parentbdba7e3bbf7cef4417309eb356aea4b805d3c974
Fix bug where image size is incorrectly rejected.

Fixes bug 1043952.

Added GB-1 (one byte less than a gig) to the numerator to
correct round-off errors.

Change-Id: I6d97f3c53ab5a8ff5a0752400fd189f23223958f

Fixed PEP8 complaints.

Change-Id: Iacecddd4e65c80964f4860d6580872d897ec2356
cinder/tests/test_volume.py
cinder/volume/api.py