From 3530daf3fffb326306b265808ebefdf68abbc4bb Mon Sep 17 00:00:00 2001 From: kishan Date: Mon, 25 Oct 2010 12:22:06 +0530 Subject: [PATCH] bug 6697: make resourcetype optional status 6697: resolved fixed --- server/src/com/cloud/api/commands/ListResourceLimitsCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/com/cloud/api/commands/ListResourceLimitsCmd.java b/server/src/com/cloud/api/commands/ListResourceLimitsCmd.java index fa204e323ad..742934b34dd 100644 --- a/server/src/com/cloud/api/commands/ListResourceLimitsCmd.java +++ b/server/src/com/cloud/api/commands/ListResourceLimitsCmd.java @@ -52,7 +52,7 @@ public class ListResourceLimitsCmd extends BaseListCmd { @Parameter(name="id", type=CommandType.LONG, description="Lists resource limits by ID.") private Long id; - @Parameter(name="resourcetype", type=CommandType.INTEGER, required=true, description="Type of resource to update. Values are 0, 1, 2, 3, and 4. 0 - Instance. Number of instances a user can create. " + + @Parameter(name="resourcetype", type=CommandType.INTEGER, description="Type of resource to update. Values are 0, 1, 2, 3, and 4. 0 - Instance. Number of instances a user can create. " + "1 - IP. Number of public IP addresses a user can own. " + "2 - Volume. Number of disk volumes a user can create." + "3 - Snapshot. Number of snapshots a user can create." +