forked from TrueCloudLab/frostfs-node
[#1407] tree: Set ContainerOwner
in parameter for CheckAPE
Signed-off-by: Airat Arifullin <a.arifullin@yadro.com>
This commit is contained in:
parent
54eb005822
commit
9c5ddc4dfe
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