From aefcee5753d4a050bdb38fd1a51f1e1de1a634ae Mon Sep 17 00:00:00 2001 From: Prasanna Santhanam Date: Fri, 31 May 2013 17:48:30 +0530 Subject: [PATCH] CLOUDSTACK-2787: updateVpcOffering should have id as a required without the id you cannot update a VPC offering. The docs for API will go wrong and Marvin tests using update VPC will fail. Signed-off-by: Prasanna Santhanam --- .../cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java b/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java index 9bbae064376..6eaac38d29a 100644 --- a/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java +++ b/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java @@ -38,7 +38,7 @@ public class UpdateVPCOfferingCmd extends BaseAsyncCmd{ //////////////// API parameters ///////////////////// ///////////////////////////////////////////////////// - @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = VpcOfferingResponse.class, + @Parameter(name=ApiConstants.ID, type=CommandType.UUID, entityType = VpcOfferingResponse.class, required=true, description="the id of the VPC offering") private Long id;