[#328] cmd/node: Serve Container.AnnounceUsedSpace RPC
Register recently implemented handler of AnnounceUsedSpace RPC in node app. Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
b270c49b5c
commit
bd5c70131b
4 changed files with 35 additions and 3 deletions
|
@ -124,9 +124,13 @@ func initContainerService(c *cfg) {
|
|||
containerService.NewSignService(
|
||||
c.key,
|
||||
containerService.NewResponseService(
|
||||
containerService.NewExecutionService(
|
||||
containerMorph.NewExecutor(cnrClient),
|
||||
),
|
||||
&usedSpaceService{
|
||||
Service: containerService.NewExecutionService(containerMorph.NewExecutor(cnrClient)),
|
||||
loadWriterProvider: loadRouter,
|
||||
loadPlacementBuilder: loadPlacementBuilder,
|
||||
routeBuilder: routeBuilder,
|
||||
cfg: c,
|
||||
},
|
||||
c.respSvc,
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue