summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
a6f2192)
Change-Id: Ic9ce2f93c82217976a665b5adb099b4b51b49bc0
Signed-off-by: lloretgalleg <illoret@indra.es>
import asyncio
import socket
import uuid
import asyncio
import socket
import uuid
from grpclib.client import Channel
from grpclib.client import Channel
message="artifact_path is mandatory", bad_args=["artifact_path"]
)
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:
# remove / in charm path
while artifact_path.find("//") >= 0: