[#1397] object: Correctly set namespace before APE check
All checks were successful
DCO action / DCO (pull_request) Successful in 2m14s
Tests and linters / Run gofumpt (pull_request) Successful in 2m13s
Vulncheck / Vulncheck (pull_request) Successful in 3m27s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m41s
Build / Build Components (pull_request) Successful in 3m49s
Tests and linters / Staticcheck (pull_request) Successful in 3m47s
Tests and linters / gopls check (pull_request) Successful in 4m7s
Tests and linters / Lint (pull_request) Successful in 4m16s
Tests and linters / Tests (pull_request) Successful in 5m49s
Tests and linters / Tests with -race (pull_request) Successful in 6m58s

Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
Airat Arifullin 2024-09-27 13:45:57 +03:00
parent d4bec24c9f
commit 48586bdf71

View file

@ -108,7 +108,7 @@ func (c *checkerImpl) CheckAPE(ctx context.Context, prm Prm) error {
return c.checkerCore.CheckAPE(checkercore.CheckPrm{
Request: r,
PublicKey: pub,
Namespace: prm.Method,
Namespace: prm.Namespace,
Container: prm.Container,
ContainerOwner: prm.ContainerOwner,
BearerToken: prm.BearerToken,