projects
/
osm
/
LCM.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6f2192
)
Syncronize with fs before deploy package with ee
74/9674/5
author
lloretgalleg
<illoret@indra.es>
Wed, 2 Sep 2020 09:55:05 +0000
(09:55 +0000)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 16 Nov 2020 09:01:54 +0000
(10:01 +0100)
Change-Id: Ic9ce2f93c82217976a665b5adb099b4b51b49bc0
Signed-off-by: lloretgalleg <illoret@indra.es>
osm_lcm/lcm_helm_conn.py
patch
|
blob
|
history
diff --git
a/osm_lcm/lcm_helm_conn.py
b/osm_lcm/lcm_helm_conn.py
index
555613e
..
e204185
100644
(file)
--- 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: