This commit is contained in:
Pranav Saxena 2013-06-03 15:44:00 +05:30
commit cefd099c9d
1 changed files with 1 additions and 1 deletions

View File

@ -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);