[#1407] tree: Set ContainerOwner
in parameter for CheckAPE
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 2m30s
DCO action / DCO (pull_request) Successful in 3m7s
Vulncheck / Vulncheck (pull_request) Successful in 3m12s
Tests and linters / Staticcheck (pull_request) Successful in 3m43s
Build / Build Components (pull_request) Successful in 3m59s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m57s
Tests and linters / gopls check (pull_request) Successful in 4m21s
Tests and linters / Lint (pull_request) Successful in 4m37s
Tests and linters / Tests (pull_request) Successful in 6m8s
Tests and linters / Tests with -race (pull_request) Successful in 7m10s
All checks were successful
Tests and linters / Run gofumpt (pull_request) Successful in 2m30s
DCO action / DCO (pull_request) Successful in 3m7s
Vulncheck / Vulncheck (pull_request) Successful in 3m12s
Tests and linters / Staticcheck (pull_request) Successful in 3m43s
Build / Build Components (pull_request) Successful in 3m59s
Pre-commit hooks / Pre-commit (pull_request) Successful in 3m57s
Tests and linters / gopls check (pull_request) Successful in 4m21s
Tests and linters / Lint (pull_request) Successful in 4m37s
Tests and linters / Tests (pull_request) Successful in 6m8s
Tests and linters / Tests with -race (pull_request) Successful in 7m10s
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
7f8a1dcf8e
commit
699f00e523
1 changed files with 7 additions and 6 deletions
|
@ -75,12 +75,13 @@ func (s *Service) checkAPE(ctx context.Context, bt *bearer.Token,
|
||||||
}
|
}
|
||||||
|
|
||||||
return s.apeChecker.CheckAPE(checkercore.CheckPrm{
|
return s.apeChecker.CheckAPE(checkercore.CheckPrm{
|
||||||
Request: request,
|
Request: request,
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Container: cid,
|
Container: cid,
|
||||||
PublicKey: publicKey,
|
ContainerOwner: container.Value.Owner(),
|
||||||
BearerToken: bt,
|
PublicKey: publicKey,
|
||||||
SoftAPECheck: false,
|
BearerToken: bt,
|
||||||
|
SoftAPECheck: false,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue