diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-12-06 12:31:31 +0100 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2018-12-06 12:31:31 +0100 |
commit | a7c243bb6d36684329fa8e9b96a95f2c22ba81e5 (patch) | |
tree | a760fef0c9c99afd9752dbbc902308df67a0a011 /go/internal/handler/receive_pack.go | |
parent | 46f0594457d805ae43b509c38cc5bb95ef76f4c9 (diff) | |
download | gitlab-shell-a7c243bb6d36684329fa8e9b96a95f2c22ba81e5.tar.gz |
Upgrade gitaly Client dependency
The client now has TLS support. So this gets pulled into this component.
To make it work, we have to upgrade the proto too.
Diffstat (limited to 'go/internal/handler/receive_pack.go')
-rw-r--r-- | go/internal/handler/receive_pack.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/internal/handler/receive_pack.go b/go/internal/handler/receive_pack.go index e69486f..096204f 100644 --- a/go/internal/handler/receive_pack.go +++ b/go/internal/handler/receive_pack.go @@ -5,11 +5,11 @@ import ( "fmt" "os" - pb "gitlab.com/gitlab-org/gitaly-proto/go" + "gitlab.com/gitlab-org/gitaly-proto/go/gitalypb" "gitlab.com/gitlab-org/gitaly/client" ) -func ReceivePack(gitalyAddress string, request *pb.SSHReceivePackRequest) (int32, error) { +func ReceivePack(gitalyAddress string, request *gitalypb.SSHReceivePackRequest) (int32, error) { if gitalyAddress == "" { return 0, fmt.Errorf("no gitaly_address given") } |