cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject [39/50] [abbrv] git commit: updated refs/heads/internallb to ca2fc30
Date Wed, 24 Apr 2013 16:24:03 GMT
fix CLOUDSTACK-2142 migrateVirtua lMachine() API errors out when passing a valid uuid for storageid.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f6fb4d2f
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f6fb4d2f
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f6fb4d2f

Branch: refs/heads/internallb
Commit: f6fb4d2f6a9abe6f00ce359691bfe843f6b88895
Parents: 7dd88fb
Author: Mice Xia <mice_xia@tcloudcomputing.com>
Authored: Tue Apr 23 14:44:59 2013 +0800
Committer: Mice Xia <mice_xia@tcloudcomputing.com>
Committed: Tue Apr 23 14:44:59 2013 +0800

----------------------------------------------------------------------
 .../api/command/admin/vm/MigrateVMCmd.java         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f6fb4d2f/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;
 


Mime
View raw message