X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm_lcm%2Flcm_helm_conn.py;h=e2041857adb8919105e3829d17a8792f057a1ebd;hb=b5b9c98cc1babe7eac7d62763f89818e02d52bbd;hp=555613e1030370049ed72a23333c50717e3a7f13;hpb=a6f21924f3dab8563a847f0e4bdfd7a5b332520b;p=osm%2FLCM.git diff --git a/osm_lcm/lcm_helm_conn.py b/osm_lcm/lcm_helm_conn.py index 555613e..e204185 100644 --- a/osm_lcm/lcm_helm_conn.py +++ b/osm_lcm/lcm_helm_conn.py @@ -20,6 +20,7 @@ import yaml import asyncio import socket import uuid +import os from grpclib.client import Channel @@ -157,7 +158,9 @@ class LCMHelmConn(N2VCConnector): message="artifact_path is mandatory", bad_args=["artifact_path"] ) - # Validate artifact-path exists + # Validate artifact-path exists and sync path + from_path = os.path.split(artifact_path)[0] + self.fs.sync(from_path) # remove / in charm path while artifact_path.find("//") >= 0: