cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mc...@apache.org
Subject [04/25] git commit: refs/heads/api_entity - CLOUDSTACK-1641: fix NPE during migrate volume
Date Thu, 21 Mar 2013 01:04:18 GMT
CLOUDSTACK-1641: fix NPE during migrate volume


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

Branch: refs/heads/api_entity
Commit: 1ea5d6c169eb470cf8c356f5ea358b2a3ee170da
Parents: ba249c0
Author: Edison Su <sudison@gmail.com>
Authored: Tue Mar 19 15:34:18 2013 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Tue Mar 19 15:34:31 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1ea5d6c1/server/src/com/cloud/storage/VolumeManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/storage/VolumeManagerImpl.java b/server/src/com/cloud/storage/VolumeManagerImpl.java
index a23ea32..737ed0a 100644
--- a/server/src/com/cloud/storage/VolumeManagerImpl.java
+++ b/server/src/com/cloud/storage/VolumeManagerImpl.java
@@ -2133,7 +2133,7 @@ public class VolumeManagerImpl extends ManagerBase implements VolumeManager
{
                                             + assignedPool
                                             + " assigned by deploymentPlanner");
                                 }
-                                VolumeTask task = new VolumeTask(VolumeTaskType.MIGRATE,
vol, null);
+                                VolumeTask task = new VolumeTask(VolumeTaskType.MIGRATE,
vol, assignedPool);
                                 tasks.add(task);
                             }
                         } else {


Mime
View raw message