From: garciadeblas Date: Wed, 4 Dec 2019 12:24:32 +0000 (+0000) Subject: Fix bug 946 - removed unnecessary check for additionalParams X-Git-Tag: v7.0.0rc1 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=88975461d519f80a6d6fb866aa899d704ee14bb6;p=osm%2Fosmclient.git Fix bug 946 - removed unnecessary check for additionalParams Change-Id: I3afdd68a17f78fcbea8f6527d2781c36988ec1a4 Signed-off-by: garciadeblas --- diff --git a/osmclient/sol005/ns.py b/osmclient/sol005/ns.py index 1165b3d..e9858f4 100644 --- a/osmclient/sol005/ns.py +++ b/osmclient/sol005/ns.py @@ -198,9 +198,6 @@ class Ns(object): if not additional_param_vnf.get("member-vnf-index"): raise ValueError("Error at --config 'additionalParamsForVnf' items must contain " "'member-vnf-index'") - if not additional_param_vnf.get("additionalParams"): - raise ValueError("Error at --config 'additionalParamsForVnf' items must contain " - "'additionalParams'") if "wim_account" in ns_config: wim_account = ns_config.pop("wim_account") if wim_account is not None: