Commit 880ed87f authored by Sushil Khanchi's avatar Sushil Khanchi 🐨
Browse files

RepositoryService: make servicer name consitent

parent 9290e989a630
......@@ -5,7 +5,7 @@ from hgitaly.service.commit import CommitServicer
from hgitaly.service.ref import RefServicer
from hgitaly.service.diff import DiffServicer
from hgitaly.service.mercurial_repository import MercurialRepositoryServicer
from hgitaly.service.repository_service import RepositoryServiceServicer
from hgitaly.service.repository_service import RepositoryServicer
from hgitaly.service.server import ServerServicer
from hgitaly.stub.blob_pb2_grpc import add_BlobServiceServicer_to_server
from hgitaly.stub.commit_pb2_grpc import add_CommitServiceServicer_to_server
......@@ -33,7 +33,7 @@ def grpc_server(_grpc_server, grpc_addr, server_repos_root):
add_DiffServiceServicer_to_server(DiffServicer(storages),
_grpc_server)
add_RepositoryServiceServicer_to_server(
RepositoryServiceServicer(storages),
RepositoryServicer(storages),
_grpc_server)
add_MercurialRepositoryServiceServicer_to_server(
MercurialRepositoryServicer(storages),
......
......@@ -25,7 +25,7 @@ from .service.commit import CommitServicer
from .service.ref import RefServicer
from .service.diff import DiffServicer
from .service.mercurial_repository import MercurialRepositoryServicer
from .service.repository_service import RepositoryServiceServicer
from .service.repository_service import RepositoryServicer
from .service.server import ServerServicer
from .stub.blob_pb2_grpc import add_BlobServiceServicer_to_server
......@@ -75,7 +75,7 @@ def init(listen_urls, storages):
add_MercurialRepositoryServiceServicer_to_server(
MercurialRepositoryServicer(storages), server)
add_RepositoryServiceServicer_to_server(
RepositoryServiceServicer(storages), server)
RepositoryServicer(storages), server)
add_ServerServiceServicer_to_server(ServerServicer(storages), server)
for url in listen_urls:
......
......@@ -75,7 +75,7 @@ ARCHIVE_FORMATS = {
}
class RepositoryServiceServicer(RepositoryServiceServicer, HGitalyServicer):
class RepositoryServicer(RepositoryServiceServicer, HGitalyServicer):
"""RepositoryServiceService implementation.
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment