You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by da...@apache.org on 2014/11/17 14:46:18 UTC

git commit: updated refs/heads/master to 3dc12f7

Repository: cloudstack
Updated Branches:
  refs/heads/master efe47b070 -> 3dc12f7b4


CID-1254843: var name changed to saolve c&p issue

Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/3dc12f7b
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/3dc12f7b
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/3dc12f7b

Branch: refs/heads/master
Commit: 3dc12f7b48abbdc8f063ddbab76f6f3832c036a9
Parents: efe47b0
Author: Daan Hoogland <da...@onecht.net>
Authored: Mon Nov 17 14:45:48 2014 +0100
Committer: Daan Hoogland <da...@onecht.net>
Committed: Mon Nov 17 14:45:48 2014 +0100

----------------------------------------------------------------------
 server/src/com/cloud/capacity/CapacityManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/3dc12f7b/server/src/com/cloud/capacity/CapacityManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/capacity/CapacityManagerImpl.java b/server/src/com/cloud/capacity/CapacityManagerImpl.java
index 15cc36a..3c2851e 100755
--- a/server/src/com/cloud/capacity/CapacityManagerImpl.java
+++ b/server/src/com/cloud/capacity/CapacityManagerImpl.java
@@ -709,7 +709,7 @@ public class CapacityManagerImpl extends ManagerBase implements CapacityManager,
             }
             // Set the capacity state as per the host allocation state.
             if(capacityState != memCap.getCapacityState()){
-                s_logger.debug("Calibrate memory capacity state for host: " + host.getId() + " old capacity state:" + cpuCap.getTotalCapacity() + " new capacity state:" + hostTotalCpu);
+                s_logger.debug("Calibrate memory capacity state for host: " + host.getId() + " old capacity state:" + memCap.getTotalCapacity() + " new capacity state:" + hostTotalCpu);
                 memCap.setCapacityState(capacityState);
             }