diff options
author | Nick Thomas <nick@gitlab.com> | 2020-11-03 17:39:49 +0300 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2020-11-03 17:45:49 +0300 |
commit | f5f814e88023761bc5f6c3e0b0c30d3785908883 (patch) | |
tree | 66c86ed71becb6d89998d5b491b15736e0cecdf2 | |
parent | 300c99472b9f500459044241ca36d3bb1e281e04 (diff) |
Remove FetchHTTPRemote NotImplemented helper
-rw-r--r-- | internal/gitaly/service/repository/server.go | 7 | ||||
-rw-r--r-- | internal/praefect/protoregistry/protoregistry_test.go | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/internal/gitaly/service/repository/server.go b/internal/gitaly/service/repository/server.go index cd0a4f4a5..020f37b8f 100644 --- a/internal/gitaly/service/repository/server.go +++ b/internal/gitaly/service/repository/server.go @@ -1,12 +1,9 @@ package repository import ( - "context" - "gitlab.com/gitlab-org/gitaly/client" "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "gitlab.com/gitlab-org/gitaly/internal/gitaly/rubyserver" - "gitlab.com/gitlab-org/gitaly/internal/helper" "gitlab.com/gitlab-org/gitaly/internal/storage" "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" ) @@ -31,7 +28,3 @@ func NewServer(cfg config.Cfg, rs *rubyserver.Server, locator storage.Locator, i binDir: cfg.BinDir, } } - -func (*server) FetchHTTPRemote(context.Context, *gitalypb.FetchHTTPRemoteRequest) (*gitalypb.FetchHTTPRemoteResponse, error) { - return nil, helper.Unimplemented -} diff --git a/internal/praefect/protoregistry/protoregistry_test.go b/internal/praefect/protoregistry/protoregistry_test.go index 00ecb31f7..8c5c56e2e 100644 --- a/internal/praefect/protoregistry/protoregistry_test.go +++ b/internal/praefect/protoregistry/protoregistry_test.go @@ -149,7 +149,6 @@ func TestNewProtoRegistry(t *testing.T) { "SearchFilesByName": protoregistry.OpAccessor, "RestoreCustomHooks": protoregistry.OpMutator, "BackupCustomHooks": protoregistry.OpAccessor, - "FetchHTTPRemote": protoregistry.OpMutator, }, "SmartHTTPService": map[string]protoregistry.OpType{ "InfoRefsUploadPack": protoregistry.OpAccessor, |