Reviewed: https://review.fuel-infra.org/5332 Submitter: Vitaly Sedelnik <email address hidden> Branch: openstack-ci/fuel-5.1-updates/2014.1.1
Commit: bd1be1bcc92f0c84eb9881afe1da74e0f3bc9a28 Author: Alex Ermolov <email address hidden> Date: Mon Apr 6 14:31:00 2015
correct inverted subtraction in quota check
From a user reported bug: we were doing the subtraction backwards here, causing int overflow, causing all kinds of invalid. Instead actually subtract the smaller number from the bigger number.
Change-Id: I7c099df5e31aa25b8be65c570e2e0b8a3e93c277 Closes-Bug: #1440740
Reviewed: https:/ /review. fuel-infra. org/5332 ci/fuel- 5.1-updates/ 2014.1. 1
Submitter: Vitaly Sedelnik <email address hidden>
Branch: openstack-
Commit: bd1be1bcc92f0c8 4eb9881afe1da74 e0f3bc9a28
Author: Alex Ermolov <email address hidden>
Date: Mon Apr 6 14:31:00 2015
correct inverted subtraction in quota check
From a user reported bug: we were doing the subtraction backwards
here, causing int overflow, causing all kinds of invalid. Instead
actually subtract the smaller number from the bigger number.
Change-Id: I7c099df5e31aa2 5b8be65c570e2e0 b8a3e93c277
Closes-Bug: #1440740