From 461af6e0a4d240d799dae57e62b6b5d1e0b8cf1e Mon Sep 17 00:00:00 2001 From: Chris Darroch Date: Tue, 20 Jul 2021 23:35:39 -0400 Subject: [PATCH] tq/ssh.go: remove extra temp filename comment We remove one extra copy of a comment added in commit 9c46a38281283d919e841cf3dcae35b4f686e0e1 of PR #4446, where the first copy was already in place from commit 594f8e386cce3441e06c9094ab5e251f0e07ca1f in the same PR. --- tq/ssh.go | 1 - 1 file changed, 1 deletion(-) diff --git a/tq/ssh.go b/tq/ssh.go index 23c99c04..7cedabd4 100644 --- a/tq/ssh.go +++ b/tq/ssh.go @@ -173,7 +173,6 @@ func (a *SSHAdapter) DoTransfer(ctx interface{}, t *Transfer, cb ProgressCallbac } func (a *SSHAdapter) download(t *Transfer, conn *ssh.PktlineConnection, cb ProgressCallback) error { - // Reserve a temporary filename. We need to make sure nobody operates on the file simultaneously with us. rel, err := t.Rel("download") if err != nil { return err