forked from TrueCloudLab/frostfs-node
[#425] services: Define service interfaces that was removed from API lib
Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
This commit is contained in:
parent
e6f945e61d
commit
718a2fad26
29 changed files with 107 additions and 42 deletions
|
@ -125,7 +125,7 @@ func initContainerService(c *cfg) {
|
|||
c.key,
|
||||
containerService.NewResponseService(
|
||||
&usedSpaceService{
|
||||
Service: containerService.NewExecutionService(containerMorph.NewExecutor(cnrClient)),
|
||||
Server: containerService.NewExecutionService(containerMorph.NewExecutor(cnrClient)),
|
||||
loadWriterProvider: loadRouter,
|
||||
loadPlacementBuilder: loadPlacementBuilder,
|
||||
routeBuilder: routeBuilder,
|
||||
|
@ -341,7 +341,7 @@ func (d *localStorageLoad) Iterate(f loadcontroller.UsedSpaceFilter, h loadcontr
|
|||
}
|
||||
|
||||
type usedSpaceService struct {
|
||||
containerV2.Service
|
||||
containerService.Server
|
||||
|
||||
loadWriterProvider loadcontroller.WriterProvider
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ func (c *cfg) MaxObjectSize() uint64 {
|
|||
return sz
|
||||
}
|
||||
|
||||
func (s *objectSvc) Put(ctx context.Context) (object.PutObjectStreamer, error) {
|
||||
func (s *objectSvc) Put(ctx context.Context) (objectService.PutObjectStream, error) {
|
||||
return s.put.Put(ctx)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue