You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2014/04/18 03:01:43 UTC

[4/4] git commit: updated refs/heads/master to 6397f1c

CLOUDSTACK-6329 [Automation] Changing service offering of VM from medium to small failing with NPE

- The hostAllocators were not getting set


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

Branch: refs/heads/master
Commit: 6397f1c82ef52fb23b4040f8836b3757cce63769
Parents: 7819775
Author: Prachi Damle <pr...@cloud.com>
Authored: Thu Apr 3 22:41:03 2014 -0700
Committer: Min Chen <mi...@citrix.com>
Committed: Thu Apr 17 17:55:17 2014 -0700

----------------------------------------------------------------------
 .../orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6397f1c8/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
----------------------------------------------------------------------
diff --git a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
index 05b7abf..db3e7c2 100755
--- a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
+++ b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java
@@ -290,7 +290,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
     }
 
     public void setHostAllocators(List<HostAllocator> hostAllocators) {
-        hostAllocators = hostAllocators;
+        this.hostAllocators = hostAllocators;
     }
 
     protected List<StoragePoolAllocator> _storagePoolAllocators;