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 2D43E1163E for ; Thu, 12 Jun 2014 12:25:53 +0000 (UTC) Received: (qmail 89571 invoked by uid 500); 12 Jun 2014 12:25:53 -0000 Delivered-To: apmail-cloudstack-commits-archive@cloudstack.apache.org Received: (qmail 89538 invoked by uid 500); 12 Jun 2014 12:25:53 -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 89530 invoked by uid 99); 12 Jun 2014 12:25:53 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Jun 2014 12:25:53 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B106948A7F; Thu, 12 Jun 2014 12:25:52 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: talluri@apache.org To: commits@cloudstack.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: updated refs/heads/master to 34b177f Date: Thu, 12 Jun 2014 12:25:52 +0000 (UTC) Repository: cloudstack Updated Branches: refs/heads/master 505a7127b -> 34b177f2b CLOUDSTACK-6904: removed typeInfo key as part of sanitize command Signed-off-by: SrikanteswaraRao Talluri Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/34b177f2 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/34b177f2 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/34b177f2 Branch: refs/heads/master Commit: 34b177f2b58f2acfa93bdec75d31495b279276a4 Parents: 505a712 Author: SrikanteswaraRao Talluri Authored: Thu Jun 12 17:52:26 2014 +0530 Committer: SrikanteswaraRao Talluri Committed: Thu Jun 12 17:52:26 2014 +0530 ---------------------------------------------------------------------- tools/marvin/marvin/cloudstackConnection.py | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/34b177f2/tools/marvin/marvin/cloudstackConnection.py ---------------------------------------------------------------------- diff --git a/tools/marvin/marvin/cloudstackConnection.py b/tools/marvin/marvin/cloudstackConnection.py index c49edf3..a8c35f6 100644 --- a/tools/marvin/marvin/cloudstackConnection.py +++ b/tools/marvin/marvin/cloudstackConnection.py @@ -267,6 +267,8 @@ class CSConnection(object): for param, value in payload.items(): if value is None: payload.pop(param) + elif param == 'typeInfo': + payload.pop(param) elif isinstance(value, list): if len(value) == 0: payload.pop(param)