From 265cdc4cebc5818c2387bf4f803a9fd2be416928 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 13 Dec 2023 11:03:06 -0600 Subject: T5774: fix regressions in remote.upload and use in config_mgmt (cherry picked from commit 6b325962a4b8b3e67d7976bf161aed34a9fe6cce) --- python/vyos/remote.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/remote.py') 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: -- cgit v1.2.3