aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-04-26 14:51:43 +0200
committerMáximo Cuadros <mcuadros@gmail.com>2017-04-26 14:51:43 +0200
commitdf8b1cb8a8d4b3d53cbe64ae306d72bde29b56b0 (patch)
tree4c5ad3fa25769923190f4c65cf9e038038fcb3e2 /plumbing
parentfd361169707a184f6c94f9e4a87c4e656f41f270 (diff)
downloadgo-git-df8b1cb8a8d4b3d53cbe64ae306d72bde29b56b0.tar.gz
plumbing: transport, ssh fix public key builder
Diffstat (limited to 'plumbing')
-rw-r--r--plumbing/transport/ssh/upload_pack_test.go2
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, "")
}
}