From 39403e845bf83d40c03be83ed704aefeaf3819bf Mon Sep 17 00:00:00 2001 From: Edison Su Date: Fri, 17 Feb 2012 13:04:48 -0800 Subject: [PATCH] bug 13843: storageid is mandatory status 13843: resolved fixed Reviewed-by: frank --- api/src/com/cloud/api/commands/MigrateVolumeCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/com/cloud/api/commands/MigrateVolumeCmd.java b/api/src/com/cloud/api/commands/MigrateVolumeCmd.java index 7df7628cde1..7e2d614af23 100644 --- a/api/src/com/cloud/api/commands/MigrateVolumeCmd.java +++ b/api/src/com/cloud/api/commands/MigrateVolumeCmd.java @@ -27,7 +27,7 @@ public class MigrateVolumeCmd extends BaseAsyncCmd { private Long volumeId; @IdentityMapper(entityTableName="storage_pool") - @Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.LONG, required=false, description="destination storage pool ID to migrate the volume to") + @Parameter(name=ApiConstants.STORAGE_ID, type=CommandType.LONG, required=true, description="destination storage pool ID to migrate the volume to") private Long storageId; /////////////////////////////////////////////////////