mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-6187: Fixed MigrateSystemVMCmd response for router
(cherry picked from commit 37ce4e52c2)
Signed-off-by: Animesh Chaturvedi <animesh@apache.org>
This commit is contained in:
parent
86643d6e3f
commit
a1000b99ff
|
|
@ -1127,7 +1127,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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue