Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 51630200C2C for ; Fri, 3 Mar 2017 10:15:27 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5023A160B6D; Fri, 3 Mar 2017 09:15:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 99455160B57 for ; Fri, 3 Mar 2017 10:15:26 +0100 (CET) Received: (qmail 67681 invoked by uid 500); 3 Mar 2017 09:15:25 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 67669 invoked by uid 99); 3 Mar 2017 09:15:25 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 03 Mar 2017 09:15:25 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 58585DFDE6; Fri, 3 Mar 2017 09:15:25 +0000 (UTC) From: priyankparihar To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request #1894: CLOUDSTACK-9700 Allow user to Register/Copy t... Content-Type: text/plain Message-Id: <20170303091525.58585DFDE6@git1-us-west.apache.org> Date: Fri, 3 Mar 2017 09:15:25 +0000 (UTC) archived-at: Fri, 03 Mar 2017 09:15:27 -0000 Github user priyankparihar commented on a diff in the pull request: https://github.com/apache/cloudstack/pull/1894#discussion_r104114043 --- Diff: api/src/org/apache/cloudstack/api/command/user/template/CopyTemplateCmd.java --- @@ -51,25 +52,46 @@ @Parameter(name = ApiConstants.DESTINATION_ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, - required = true, + required = false, description = "ID of the zone the template is being copied to.") - private Long destZoneId; + protected Long destZoneId; - @Parameter(name = ApiConstants.ID, type = CommandType.UUID, entityType = TemplateResponse.class, required = true, description = "Template ID.") + @Parameter(name = ApiConstants.ID, type = CommandType.UUID, + entityType = TemplateResponse.class, required = true, description = "Template ID.") private Long id; @Parameter(name = ApiConstants.SOURCE_ZONE_ID, type = CommandType.UUID, entityType = ZoneResponse.class, - description = "ID of the zone the template is currently hosted on. If not specified and template is cross-zone, then we will sync this template to region wide image store.") + description = "ID of the zone the template is currently hosted on. " + + "If not specified and template is cross-zone, " + + "then we will sync this template to region wide image store.") --- End diff -- This change is not required. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---