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/upload_archive.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/upload_archive.go')
-rw-r--r-- | go/internal/handler/upload_archive.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/go/internal/handler/upload_archive.go b/go/internal/handler/upload_archive.go index 4ab1e71..8028c5b 100644 --- a/go/internal/handler/upload_archive.go +++ b/go/internal/handler/upload_archive.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 UploadArchive(gitalyAddress string, request *pb.SSHUploadArchiveRequest) (int32, error) { +func UploadArchive(gitalyAddress string, request *gitalypb.SSHUploadArchiveRequest) (int32, error) { if gitalyAddress == "" { return 0, fmt.Errorf("no gitaly_address given") } |