Return-Path: X-Original-To: apmail-cloudstack-commits-archive@www.apache.org Delivered-To: apmail-cloudstack-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64A2AC633 for ; Mon, 3 Jun 2013 11:51:47 +0000 (UTC) Received: (qmail 10549 invoked by uid 500); 3 Jun 2013 11:51:47 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 10531 invoked by uid 500); 3 Jun 2013 11:51:47 -0000 Mailing-List: contact commits-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 commits@cloudstack.apache.org Received: (qmail 10516 invoked by uid 99); 3 Jun 2013 11:51:46 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 11:51:46 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6F18489FC3B; Mon, 3 Jun 2013 11:51:46 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sateesh@apache.org To: commits@cloudstack.apache.org Date: Mon, 03 Jun 2013 11:51:46 -0000 Message-Id: <885e77115d424ed6927bfb3b1b47864c@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/2] git commit: updated refs/heads/master to e0f0e9d Updated Branches: refs/heads/master 2aae10bb6 -> e0f0e9d01 Setting object name in response object. Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a0372ccd Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a0372ccd Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a0372ccd Branch: refs/heads/master Commit: a0372ccd1727a7577d5932a6149744aff172ddf2 Parents: 45681c5 Author: Sateesh Chodapuneedi Authored: Mon Jun 3 17:18:16 2013 +0530 Committer: Sateesh Chodapuneedi Committed: Mon Jun 3 17:18:16 2013 +0530 ---------------------------------------------------------------------- .../api/command/admin/zone/AddVmwareDcCmd.java | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a0372ccd/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java ---------------------------------------------------------------------- diff --git a/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java b/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java index 7168c7f..fde96c8 100644 --- a/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java +++ b/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java @@ -99,6 +99,7 @@ public class AddVmwareDcCmd extends BaseCmd { response.setId(result.getUuid()); response.setName(result.getVmwareDatacenterName()); response.setResponseName(getCommandName()); + response.setObjectName("vmwaredc"); } else { throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add VMware Datacenter to zone."); }