From cf2874632223220e0445abf0a7806dc772c0b37a Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Fri, 23 Oct 2015 12:16:36 +0200 Subject: fixing routes --- clients/common/common.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clients/common/common.go') diff --git a/clients/common/common.go b/clients/common/common.go index c3d15c1..5da0570 100644 --- a/clients/common/common.go +++ b/clients/common/common.go @@ -7,7 +7,7 @@ import ( "strings" "gopkg.in/sourcegraph/go-vcsurl.v1" - "gopkg.in/src-d/go-git.v2/pktline" + "gopkg.in/src-d/go-git.v2/formats/pktline" ) const GitUploadPackServiceName = "git-upload-pack" @@ -160,5 +160,5 @@ func (r *GitUploadPackRequest) Reader() *strings.Reader { e.AddFlush() e.AddLine("done") - return e.GetReader() + return e.Reader() } -- cgit