diff options
Diffstat (limited to 'internal/service/remote/server.go')
-rw-r--r-- | internal/service/remote/server.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/internal/service/remote/server.go b/internal/service/remote/server.go index 8f052578b..0a87763a5 100644 --- a/internal/service/remote/server.go +++ b/internal/service/remote/server.go @@ -1,6 +1,7 @@ package remote import ( + "gitlab.com/gitlab-org/gitaly/internal/config" "gitlab.com/gitlab-org/gitaly/internal/rubyserver" "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" ) @@ -8,9 +9,10 @@ import ( type server struct { ruby *rubyserver.Server gitalypb.UnimplementedRemoteServiceServer + storages config.Storages } // NewServer creates a new instance of a grpc RemoteServiceServer -func NewServer(rs *rubyserver.Server) gitalypb.RemoteServiceServer { - return &server{ruby: rs} +func NewServer(rs *rubyserver.Server, storages config.Storages) gitalypb.RemoteServiceServer { + return &server{ruby: rs, storages: storages} } |