From 6397f1c82ef52fb23b4040f8836b3757cce63769 Mon Sep 17 00:00:00 2001 From: Prachi Damle Date: Thu, 3 Apr 2014 22:41:03 -0700 Subject: [PATCH] CLOUDSTACK-6329 [Automation] Changing service offering of VM from medium to small failing with NPE - The hostAllocators were not getting set --- .../src/com/cloud/vm/VirtualMachineManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java b/engine/orchestration/src/com/cloud/vm/VirtualMachineManagerImpl.java index 05b7abf9061..db3e7c2f695 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 hostAllocators) { - hostAllocators = hostAllocators; + this.hostAllocators = hostAllocators; } protected List _storagePoolAllocators;