allow starts N2VCJujuConnector without the parameter api_proxy 50/9350/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 24 Jun 2020 13:57:10 +0000 (13:57 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 7 Jul 2020 10:24:39 +0000 (10:24 +0000)
Change-Id: I7506f10b89c6837ce019e6db447748de3c811d61
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
n2vc/n2vc_juju_conn.py

index ab8c6e8..ed53da4 100644 (file)
@@ -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"]