Remove unuused parameters
This commit removes names for unusued parameters where they are no longer needed.
This commit is contained in:
parent
b45233b87c
commit
8ad8cf7994
24 changed files with 30 additions and 30 deletions
|
|
@ -81,7 +81,7 @@ func (ssh2 *SSH2) ReadOrMakeHostKey(progress io.Writer, ctx context.Context, pri
|
|||
}
|
||||
|
||||
// loadHostKey loadsa host key
|
||||
func (ssh2 *SSH2) loadHostKey(progress io.Writer, ctx context.Context, key HostKey, path string) (err error) {
|
||||
func (ssh2 *SSH2) loadHostKey(progress io.Writer, _ context.Context, key HostKey, path string) (err error) {
|
||||
fmt.Fprintf(progress, "Loading hostkey (algorithm %s) from %q\n", key.Algorithm(), path)
|
||||
|
||||
// read all the bytes from the file
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue