mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-02 07:18:25 +01:00
ssh: respect no_progress_bar on download/upload
Signed-off-by: Ruslan Kuprieiev <[email protected]>
This commit is contained in:
@@ -165,7 +165,10 @@ class RemoteSSH(RemoteBase):
|
||||
|
||||
try:
|
||||
ssh.download(
|
||||
from_info["path"], to_info["path"], progress_title=name
|
||||
from_info["path"],
|
||||
to_info["path"],
|
||||
progress_title=name,
|
||||
no_progress_bar=no_progress_bar,
|
||||
)
|
||||
except Exception:
|
||||
logger.exception(
|
||||
@@ -192,7 +195,10 @@ class RemoteSSH(RemoteBase):
|
||||
|
||||
try:
|
||||
ssh.upload(
|
||||
from_info["path"], to_info["path"], progress_title=name
|
||||
from_info["path"],
|
||||
to_info["path"],
|
||||
progress_title=name,
|
||||
no_progress_bar=no_progress_bar,
|
||||
)
|
||||
except Exception:
|
||||
logger.exception(
|
||||
|
||||
Reference in New Issue
Block a user