[#XX] object: Correctly set namespace before APE check
Some checks failed
DCO action / DCO (pull_request) Failing after 35s
Vulncheck / Vulncheck (pull_request) Successful in 2m9s
Tests and linters / Run gofumpt (pull_request) Successful in 2m11s
Tests and linters / gopls check (pull_request) Successful in 2m46s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m7s
Build / Build Components (pull_request) Successful in 3m14s
Tests and linters / Staticcheck (pull_request) Successful in 3m25s
Tests and linters / Lint (pull_request) Successful in 3m51s
Tests and linters / Tests (pull_request) Successful in 6m15s
Tests and linters / Tests with -race (pull_request) Successful in 6m20s

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 7bdbbbb413

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,