summaryrefslogtreecommitdiff
path: root/python/vyos/remote.py
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-12-13 21:45:29 +0200
committerGitHub <noreply@github.com>2023-12-13 21:45:29 +0200
commit2ab8b3259481a4d3fb988e87d83c5c14b51e2fbb (patch)
tree2131e76e970deac012d9838fb12a8c0aaf69c70e /python/vyos/remote.py
parent000d0a384f99cf71056c4639cbbc3be6bb2cf425 (diff)
parent265cdc4cebc5818c2387bf4f803a9fd2be416928 (diff)
downloadvyos-1x-2ab8b3259481a4d3fb988e87d83c5c14b51e2fbb.tar.gz
vyos-1x-2ab8b3259481a4d3fb988e87d83c5c14b51e2fbb.zip
Merge pull request #2629 from vyos/mergify/bp/sagitta/pr-2628
T5774: fix regression in remote.upload (backport #2628)
Diffstat (limited to 'python/vyos/remote.py')
-rw-r--r--python/vyos/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/remote.py b/python/vyos/remote.py
index 8928cce67..f86d2ef35 100644
--- a/python/vyos/remote.py
+++ b/python/vyos/remote.py
@@ -450,7 +450,7 @@ def upload(local_path, urlstring, progressbar=False,
source_host='', source_port=0, timeout=10.0):
try:
progressbar = progressbar and is_interactive()
- urlc(urlstring, progressbar, source_host, source_port, timeout).upload(local_path)
+ urlc(urlstring, progressbar, False, source_host, source_port, timeout).upload(local_path)
except Exception as err:
print_error(f'Unable to upload "{urlstring}": {err}')
except KeyboardInterrupt: