diff options
author | Sami Hiltunen <shiltunen@gitlab.com> | 2021-04-01 16:46:34 +0300 |
---|---|---|
committer | Sami Hiltunen <shiltunen@gitlab.com> | 2021-04-01 16:46:34 +0300 |
commit | c59c10f2e1cd0930f14fb6b319d685f0a93fd5da (patch) | |
tree | 87124a3a09328c73a40e364290274d6e6783a776 /internal/praefect/server.go | |
parent | b86a2ba3e29e0243f25f1b82f30e8e9ed7f85132 (diff) |
Remove NodeManager from Praefect's Server service
Praefect's Server service is no longer using NodeManager but it's
still injected there as a dependency. This commit removes the unused
field.
Diffstat (limited to 'internal/praefect/server.go')
-rw-r--r-- | internal/praefect/server.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/server.go b/internal/praefect/server.go index 510ac86bc..8f98c0f9f 100644 --- a/internal/praefect/server.go +++ b/internal/praefect/server.go @@ -130,7 +130,7 @@ func registerServices( primaryGetter info.PrimaryGetter, ) { // ServerServiceServer is necessary for the ServerInfo RPC - gitalypb.RegisterServerServiceServer(srv, server.NewServer(conf, nm, conns)) + gitalypb.RegisterServerServiceServer(srv, server.NewServer(conf, conns)) gitalypb.RegisterPraefectInfoServiceServer(srv, info.NewServer(nm, conf, queue, rs, assignmentStore, conns, primaryGetter)) gitalypb.RegisterRefTransactionServer(srv, transaction.NewServer(tm)) healthpb.RegisterHealthServer(srv, health.NewServer()) |