mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-6187: Fixed MigrateSystemVMCmd response for router
This commit is contained in:
parent
cb1c287433
commit
100a911229
@ -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());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user