From: tierno Date: Wed, 24 Jun 2020 13:57:10 +0000 (+0000) Subject: allow starts N2VCJujuConnector without the parameter api_proxy X-Git-Tag: release-v9.0-start~40 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=ec8a50490e6b0289e60dd8e54905b8ab480c0db8;p=osm%2FN2VC.git allow starts N2VCJujuConnector without the parameter api_proxy Change-Id: I7506f10b89c6837ce019e6db447748de3c811d61 Signed-off-by: tierno --- diff --git a/n2vc/n2vc_juju_conn.py b/n2vc/n2vc_juju_conn.py index ab8c6e8..ed53da4 100644 --- a/n2vc/n2vc_juju_conn.py +++ b/n2vc/n2vc_juju_conn.py @@ -175,6 +175,7 @@ class N2VCJujuConnector(N2VCConnector): self.warning( "api_proxy is not configured. Support for native charms is disabled" ) + self.api_proxy = None if "enable_os_upgrade" in vca_config: self.enable_os_upgrade = vca_config["enable_os_upgrade"]