You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by gi...@git.apache.org on 2017/05/25 14:11:01 UTC

[GitHub] jayapalu commented on a change in pull request #2100: CLOUDSTACK-9907 Physical size of snapshot is considered for usage

jayapalu commented on a change in pull request #2100: CLOUDSTACK-9907 Physical size of snapshot is considered for usage
URL: https://github.com/apache/cloudstack/pull/2100#discussion_r118493768
 
 

 ##########
 File path: usage/src/com/cloud/usage/UsageManagerImpl.java
 ##########
 @@ -208,6 +209,7 @@ public boolean configure(String name, Map<String, Object> params) throws Configu
         String sanityCheckInterval = configs.get("usage.sanity.check.interval");
         String quotaEnable = configs.get("quota.enable.service");
         _runQuota = Boolean.valueOf(quotaEnable == null ? "false" : quotaEnable );
+        usageSnapshotSelection  = Boolean.valueOf(configs.get("usage.snapshot.virtualsize.select"));
 
 Review comment:
   Use usageSnapshotSelection.value() instead of configs.get
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services