cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaya...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 100a911
Date Fri, 28 Feb 2014 11:18:25 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master 5360ab3d4 -> 100a91122


CLOUDSTACK-6187: Fixed MigrateSystemVMCmd response for router


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

Branch: refs/heads/master
Commit: 100a9112297213162ea9d9234e1954664690621a
Parents: cb1c287
Author: Jayapal <jayapal@apache.org>
Authored: Fri Feb 28 11:01:43 2014 +0530
Committer: Jayapal <jayapal@apache.org>
Committed: Fri Feb 28 16:46:57 2014 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/100a9112/server/src/com/cloud/api/ApiResponseHelper.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/ApiResponseHelper.java b/server/src/com/cloud/api/ApiResponseHelper.java
index eb1f94a..81bfe21 100755
--- a/server/src/com/cloud/api/ApiResponseHelper.java
+++ b/server/src/com/cloud/api/ApiResponseHelper.java
@@ -1118,7 +1118,7 @@ public class ApiResponseHelper implements ResponseGenerator {
     @Override
     public SystemVmResponse createSystemVmResponse(VirtualMachine vm) {
         SystemVmResponse vmResponse = new SystemVmResponse();
-        if (vm.getType() == Type.SecondaryStorageVm || vm.getType() == Type.ConsoleProxy)
{
+        if (vm.getType() == Type.SecondaryStorageVm || vm.getType() == Type.ConsoleProxy
|| vm.getType() == Type.DomainRouter) {
             // SystemVm vm = (SystemVm) systemVM;
             vmResponse.setId(vm.getUuid());
             // vmResponse.setObjectId(vm.getId());


Mime
View raw message