mirror of https://github.com/apache/cloudstack.git
CS-15833: PrepareForMigrationCommand extends Command
PrepareForMigrationCommand which was extending StartCommand wrongly now extends the base Command only. Signed-off-by: Prasanna Santhanam <Prasanna.Santhanam@citrix.com>
This commit is contained in:
parent
a50cf618ec
commit
4161cea5df
|
|
@ -18,13 +18,18 @@ package com.cloud.agent.api;
|
|||
|
||||
import com.cloud.agent.api.to.VirtualMachineTO;
|
||||
|
||||
public class PrepareForMigrationCommand extends StartCommand {
|
||||
|
||||
public class PrepareForMigrationCommand extends Command {
|
||||
VirtualMachineTO vm;
|
||||
|
||||
protected PrepareForMigrationCommand() {
|
||||
}
|
||||
|
||||
public PrepareForMigrationCommand(VirtualMachineTO vm) {
|
||||
super(vm);
|
||||
this.vm = vm;
|
||||
}
|
||||
|
||||
public VirtualMachineTO getVirtualMachine() {
|
||||
return vm;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Reference in New Issue