cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ni...@apache.org
Subject git commit: updated refs/heads/master to 68b8da0
Date Mon, 03 Jun 2013 10:12:19 GMT
Updated Branches:
  refs/heads/master 7b0da0623 -> 68b8da0df


CLOUDSTACK-2765
Dashboard is showing invalid value for storage
Fixed it by using the right storage method for sending the stats command


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

Branch: refs/heads/master
Commit: 68b8da0df7789644d9ca5612ee3d4b4e6b0e2d1b
Parents: 7b0da06
Author: Nitin Mehta <nitin.mehta@citrix.com>
Authored: Mon Jun 3 15:35:12 2013 +0530
Committer: Nitin Mehta <nitin.mehta@citrix.com>
Committed: Mon Jun 3 15:35:47 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/server/StatsCollector.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/68b8da0d/server/src/com/cloud/server/StatsCollector.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/server/StatsCollector.java b/server/src/com/cloud/server/StatsCollector.java
index 39b7439..8d84c6c 100755
--- a/server/src/com/cloud/server/StatsCollector.java
+++ b/server/src/com/cloud/server/StatsCollector.java
@@ -567,7 +567,7 @@ public class StatsCollector extends ManagerBase implements ComponentMethodInterc
 					GetStorageStatsCommand command = new GetStorageStatsCommand(pool.getUuid(), pool.getPoolType(),
pool.getPath());
 					long poolId = pool.getId();
 					try {
-    					Answer answer = _storageManager.sendToPool(pool.getId(), command);
+    					Answer answer = _storageManager.sendToPool(pool, command);
     					if (answer != null && answer.getResult()) {
     						storagePoolStats.put(pool.getId(), (StorageStats)answer);
     


Mime
View raw message