summaryrefslogtreecommitdiff
path: root/python/vyos/remote.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-12-13 11:03:06 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-12-13 11:53:28 -0600
commit6b325962a4b8b3e67d7976bf161aed34a9fe6cce (patch)
treeb2d1dca2978cb7306f9652ad058e262a287114c7 /python/vyos/remote.py
parent8434cc7c7a6eaec754d7873e4f61551143cd26b2 (diff)
downloadvyos-1x-6b325962a4b8b3e67d7976bf161aed34a9fe6cce.tar.gz
vyos-1x-6b325962a4b8b3e67d7976bf161aed34a9fe6cce.zip
T5774: fix regressions in remote.upload and use in config_mgmt
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 fec44b571..b1efcd10b 100644
--- a/python/vyos/remote.py
+++ b/python/vyos/remote.py
@@ -452,7 +452,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: