You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by ah...@apache.org on 2013/07/18 01:22:27 UTC

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

Fixed the account id


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

Branch: refs/heads/master
Commit: cb5ab3791675e3f0355eb2d9927e56547a39c3fe
Parents: ee4d067
Author: ahuang <al...@citrix.com>
Authored: Wed Jul 17 16:21:14 2013 -0700
Committer: ahuang <al...@citrix.com>
Committed: Wed Jul 17 16:21:14 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/cb5ab379/server/src/com/cloud/vm/VirtualMachineManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/vm/VirtualMachineManagerImpl.java b/server/src/com/cloud/vm/VirtualMachineManagerImpl.java
index 15b5956..ef81400 100755
--- a/server/src/com/cloud/vm/VirtualMachineManagerImpl.java
+++ b/server/src/com/cloud/vm/VirtualMachineManagerImpl.java
@@ -353,7 +353,7 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
             HypervisorType hyperType) throws InsufficientCapacityException {
 
         VMInstanceVO vm = _vmDao.findVMByInstanceName(vmInstanceName);
-        Account owner = _entityMgr.findById(Account.class, vm.getId());
+        Account owner = _entityMgr.findById(Account.class, vm.getAccountId());
 
         if (s_logger.isDebugEnabled()) {
             s_logger.debug("Allocating entries for VM: " + vm);