Updated Branches: refs/heads/master 55b3e6973 -> aefcee575
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 <t...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/aefcee57 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/aefcee57 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/aefcee57 Branch: refs/heads/master Commit: aefcee5753d4a050bdb38fd1a51f1e1de1a634ae Parents: 55b3e69 Author: Prasanna Santhanam <t...@apache.org> Authored: Fri May 31 17:48:30 2013 +0530 Committer: Prasanna Santhanam <t...@apache.org> Committed: Fri May 31 17:49:19 2013 +0530 ---------------------------------------------------------------------- .../command/admin/vpc/UpdateVPCOfferingCmd.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/aefcee57/api/src/org/apache/cloudstack/api/command/admin/vpc/UpdateVPCOfferingCmd.java ---------------------------------------------------------------------- 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 9bbae06..6eaac38 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;