Fix Bug 948: Remove "/" from charm's artifact_path 17/8317/2
authorDavid Garcia <david.garcia@canonical.com>
Wed, 4 Dec 2019 13:01:50 +0000 (14:01 +0100)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Wed, 4 Dec 2019 21:27:41 +0000 (22:27 +0100)
Change-Id: I16a0926b01996e0c81172fcd552058be41edb14d
Signed-off-by: David Garcia <david.garcia@canonical.com>
osm_lcm/ns.py

index 21c3d57..6a4b47f 100644 (file)
@@ -989,7 +989,7 @@ class NsLcm(LcmBase):
                     namespace += ".{}-{}".format(vdu_id, vdu_index or 0)
 
             # Get artifact path
-            artifact_path = "/{}/{}/charms/{}".format(
+            artifact_path = "{}/{}/charms/{}".format(
                 base_folder["folder"],
                 base_folder["pkg-dir"],
                 config_descriptor["juju"]["charm"]