[#142] Fix multipart-objects download
Some checks failed
/ DCO (pull_request) Failing after 1m11s
/ Builds (pull_request) Successful in 1m15s
/ Vulncheck (pull_request) Successful in 1m36s
/ Lint (pull_request) Successful in 2m20s
/ Tests (pull_request) Successful in 1m17s

Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
(cherry picked from commit 495f745535)
This commit is contained in:
Nikita Zinkevich 2024-09-17 23:35:26 +03:00
parent de3d2c21bf
commit a9065038c5
15 changed files with 552 additions and 75 deletions

View file

@ -17,11 +17,10 @@ import (
v2container "git.frostfs.info/TrueCloudLab/frostfs-api-go/v2/container"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/cache"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/frostfs"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/frostfs/services"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/handler"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/handler/middleware"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/logs"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/internal/service/frostfs"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/metrics"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/resolver"
"git.frostfs.info/TrueCloudLab/frostfs-http-gw/response"
@ -400,7 +399,7 @@ func (a *app) setHealthStatus() {
}
func (a *app) Serve() {
handler := handler.New(a.AppParams(), a.settings, tree.NewTree(services.NewPoolWrapper(a.treePool)))
handler := handler.New(a.AppParams(), a.settings, tree.NewTree(frostfs.NewPoolWrapper(a.treePool)))
// Configure router.
a.configureRouter(handler)