← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1807639] Re: Not precise when calculating image size in GB.

 

Reviewed:  https://review.openstack.org/623989
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=274706151c68072a34c21e0b596424c2390dc9b4
Submitter: Zuul
Branch:    master

commit 274706151c68072a34c21e0b596424c2390dc9b4
Author: Yan Chen <yan.chen@xxxxxxxxx>
Date:   Mon Dec 10 23:08:22 2018 +0800

    Fix precission issue when calculating image size in GB.
    
    When calculating imageGb, should use 1073741824.0 (Bytes in a GB) as the divisor.
    
    Closes-Bug: 1807639
    
    Change-Id: I096dbf84826866e3e6916474157f8697b9f546ab
    Signed-off-by: Yan Chen <yan.chen@xxxxxxxxx>


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1807639

Title:
  Not precise when calculating image size in GB.

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Impacted source code:
  openstack_dashboard/dashboards/project/static/dashboard/project/workflow/launch-instance/source/source.controller.js, checkVolumeForImage().
  When calculating imageGb, should use 1073741824.0 (Bytes in a GB) as the divisor.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1807639/+subscriptions


References