We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
sync
1 parent 92fcbab commit f35c0c4Copy full SHA for f35c0c4
src/warnet/k8s.py
@@ -368,7 +368,7 @@ def write_file_to_container(
368
):
369
namespace = get_default_namespace_or(namespace)
370
sclient = get_static_client()
371
- exec_command = ["sh", "-c", f"cat > {dst_path}.tmp"]
+ exec_command = ["sh", "-c", f"cat > {dst_path}.tmp && sync"]
372
try:
373
res = stream(
374
sclient.connect_get_namespaced_pod_exec,
0 commit comments