sys/ssh - amend DownloadFile
This commit is contained in:
parent
7ffbfe6714
commit
05cd4d76e5
|
@ -123,7 +123,7 @@ type ApplyOnSize func(s *Ssh, size int64)
|
||||||
|
|
||||||
func (s *Ssh) DownloadFile(remoteFile string, localFile string, display bool, close bool, fn ...ApplyOnSize) bool {
|
func (s *Ssh) DownloadFile(remoteFile string, localFile string, display bool, close bool, fn ...ApplyOnSize) bool {
|
||||||
if display {
|
if display {
|
||||||
echo.Action("Downloading docker image", path.Base(remoteFile))
|
echo.Action("Downloading relite file", path.Base(remoteFile))
|
||||||
}
|
}
|
||||||
done := false
|
done := false
|
||||||
alreadyDownload := false
|
alreadyDownload := false
|
||||||
|
|
Loading…
Reference in New Issue
Block a user