DaanHoogland commented on a change in pull request #2439: [CLOUDSTACK-10259]
Missing float part of secondary storage data in listAccounts method
URL: https://github.com/apache/cloudstack/pull/2439#discussion_r165002542
##########
File path: api/src/main/java/com/cloud/configuration/Resource.java
##########
@@ -38,8 +38,8 @@
private ResourceOwnerType[] supportedOwners;
private int ordinal;
public static final long bytesToKiB = 1024;
- public static final long bytesToMiB = 1024 * 1024;
- public static final long bytesToGiB = 1024 * 1024 * 1024;
+ public static final long bytesToMiB = bytesToKiB * 1024;
Review comment:
?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services