yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52356
[Bug 1592376] Re: Cinder driver the function add calculate size_gb need improve
** Project changed: glance => glance-store
** Changed in: glance-store
Importance: Undecided => Low
** Changed in: glance-store
Status: New => Confirmed
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1592376
Title:
Cinder driver the function add calculate size_gb need improve
Status in glance_store:
Confirmed
Bug description:
In the line
https://github.com/openstack/glance_store/blob/master/glance_store/_drivers/cinder.py#L436,
Its intent is to get ceiling of size_gb. we can use python math module
math.ceil() function. This can improve the code readability. So i
suggest improve it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance-store/+bug/1592376/+subscriptions
References