weizhouapache commented on a change in pull request #4378:
URL: https://github.com/apache/cloudstack/pull/4378#discussion_r596658730
##########
File path:
api/src/main/java/org/apache/cloudstack/api/command/admin/vm/MigrateVMCmd.java
##########
@@ -169,9 +165,9 @@ public void execute() {
try {
VirtualMachine migratedVm = null;
- if (getHostId() != null) {
+ if (getStoragePoolId() == null) {
Review comment:
@sureshanaparti yes, I am currently working on the coding, same as you
said.
ps: cloudstack supports projectid=-1, so it is feasible to support hostid=-1
but it might have big impact on other apis.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]