diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-26 14:51:43 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-04-26 14:51:43 +0200 |
commit | df8b1cb8a8d4b3d53cbe64ae306d72bde29b56b0 (patch) | |
tree | 4c5ad3fa25769923190f4c65cf9e038038fcb3e2 /plumbing | |
parent | fd361169707a184f6c94f9e4a87c4e656f41f270 (diff) | |
download | go-git-df8b1cb8a8d4b3d53cbe64ae306d72bde29b56b0.tar.gz |
plumbing: transport, ssh fix public key builder
Diffstat (limited to 'plumbing')
-rw-r--r-- | plumbing/transport/ssh/upload_pack_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/ssh/upload_pack_test.go b/plumbing/transport/ssh/upload_pack_test.go index 85a3d9d..cb9baa5 100644 --- a/plumbing/transport/ssh/upload_pack_test.go +++ b/plumbing/transport/ssh/upload_pack_test.go @@ -36,7 +36,7 @@ func (s *UploadPackSuite) setAuthBuilder(c *C) { privateKey := os.Getenv("SSH_TEST_PRIVATE_KEY") if privateKey != "" { DefaultAuthBuilder = func(user string) (AuthMethod, error) { - return NewPublicKeysFromFile(user, privateKey) + return NewPublicKeysFromFile(user, privateKey, "") } } |