diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2018-02-08 09:59:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-08 09:59:31 +0100 |
commit | 3a9d5e236ef38854c0e0acc1ba924260060c755a (patch) | |
tree | 6611a33b9c8a8da37bd46ff7528325a3e6d3e02f | |
parent | 98916b85c6fe08f2be5a235db43957d493ba37b9 (diff) | |
parent | aab2d9b912ad7eed53fabb424fb032e58bb4d2ca (diff) | |
download | go-git-3a9d5e236ef38854c0e0acc1ba924260060c755a.tar.gz |
Merge pull request #742 from Labutin/patch-1
Fix mistyping
-rw-r--r-- | plumbing/transport/ssh/auth_method.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/transport/ssh/auth_method.go b/plumbing/transport/ssh/auth_method.go index a092b29..0cdf2b7 100644 --- a/plumbing/transport/ssh/auth_method.go +++ b/plumbing/transport/ssh/auth_method.go @@ -231,7 +231,7 @@ func (a *PublicKeysCallback) ClientConfig() (*ssh.ClientConfig, error) { } // NewKnownHostsCallback returns ssh.HostKeyCallback based on a file based on a -// know_hosts file. http://man.openbsd.org/sshd#SSH_KNOWN_HOSTS_FILE_FORMAT +// known_hosts file. http://man.openbsd.org/sshd#SSH_KNOWN_HOSTS_FILE_FORMAT // // If files is empty, the list of files will be read from the SSH_KNOWN_HOSTS // environment variable, example: @@ -286,7 +286,7 @@ func filterKnownHostsFiles(files ...string) ([]string, error) { } if len(out) == 0 { - return nil, fmt.Errorf("unable to find any valid know_hosts file, set SSH_KNOWN_HOSTS env variable") + return nil, fmt.Errorf("unable to find any valid known_hosts file, set SSH_KNOWN_HOSTS env variable") } return out, nil |