mirror of https://github.com/apache/cloudstack.git
Pass on new command
This commit is contained in:
parent
8766c8ad43
commit
15c8d8caf6
|
|
@ -28,6 +28,7 @@ import org.apache.cloudstack.storage.command.CreateObjectCommand;
|
|||
import org.apache.cloudstack.storage.command.DeleteCommand;
|
||||
import org.apache.cloudstack.storage.command.DettachCommand;
|
||||
import org.apache.cloudstack.storage.command.IntroduceObjectCmd;
|
||||
import org.apache.cloudstack.storage.command.SnapshotAndCopyCommand;
|
||||
import org.apache.cloudstack.storage.command.StorageSubSystemCommand;
|
||||
|
||||
import com.cloud.agent.api.Answer;
|
||||
|
|
@ -61,7 +62,10 @@ public class StorageSubsystemCommandHandlerBase implements StorageSubsystemComma
|
|||
return execute((DettachCommand)command);
|
||||
} else if (command instanceof IntroduceObjectCmd) {
|
||||
return processor.introduceObject((IntroduceObjectCmd)command);
|
||||
} else if (command instanceof SnapshotAndCopyCommand) {
|
||||
return processor.snapshotAndCopy((SnapshotAndCopyCommand)command);
|
||||
}
|
||||
|
||||
return new Answer((Command)command, false, "not implemented yet");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue