mirror of https://github.com/apache/cloudstack.git
add note on vmwarweguru->getCommandHostDelegation
This commit is contained in:
parent
c42f51d75b
commit
211524f3bc
|
|
@ -300,6 +300,8 @@ public class VMwareGuru extends HypervisorGuruBase implements HypervisorGuru {
|
|||
public Pair<Boolean, Long> getCommandHostDelegation(long hostId, Command cmd) {
|
||||
boolean needDelegation = false;
|
||||
|
||||
//NOTE: the hostid can be a hypervisor host, or a ssvm agent. For copycommand, if it's for volume upload, the hypervisor
|
||||
//type is empty, so we need to check the format of volume at first.
|
||||
if (cmd instanceof CopyCommand) {
|
||||
CopyCommand cpyCommand = (CopyCommand)cmd;
|
||||
DataTO srcData = cpyCommand.getSrcTO();
|
||||
|
|
|
|||
Loading…
Reference in New Issue