Updated Branches: refs/heads/4.1 0f8320095 -> b0f4e2c5f
CLOUDSTACK-1826: it's a bug due to api refactor, the uuid to id translation magic Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/b0f4e2c5 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/b0f4e2c5 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/b0f4e2c5 Branch: refs/heads/4.1 Commit: b0f4e2c5fb9e85e4e5f9c9bc1f30507e7e669f55 Parents: 0f83200 Author: Edison Su <[email protected]> Authored: Wed Mar 27 18:10:54 2013 -0700 Committer: Edison Su <[email protected]> Committed: Wed Mar 27 18:11:32 2013 -0700 ---------------------------------------------------------------------- .../api/command/admin/vm/MigrateVMCmd.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/b0f4e2c5/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVMCmd.java ---------------------------------------------------------------------- diff --git a/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVMCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVMCmd.java index ddba78e..e9779ce 100644 --- a/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVMCmd.java +++ b/api/src/org/apache/cloudstack/api/command/admin/vm/MigrateVMCmd.java @@ -58,7 +58,7 @@ public class MigrateVMCmd extends BaseAsyncCmd { required=true, description="the ID of the virtual machine") private Long virtualMachineId; - @Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.LONG, entityType=StoragePoolResponse.class, + @Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.UUID, entityType=StoragePoolResponse.class, required=false, description="Destination storage pool ID to migrate VM volumes to. Required for migrating the root disk volume") private Long storageId;
