[#1847] services/policer: Provide container ID in logs
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
c20c2e3b39
commit
5834f9807e
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ func (p *Policer) processObject(ctx context.Context, addr oid.Address) {
|
||||||
nn, err := p.placementBuilder.BuildPlacement(idCnr, &obj, policy)
|
nn, err := p.placementBuilder.BuildPlacement(idCnr, &obj, policy)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
p.log.Error("could not build placement vector for object",
|
p.log.Error("could not build placement vector for object",
|
||||||
|
zap.Stringer("cid", idCnr),
|
||||||
zap.String("error", err.Error()),
|
zap.String("error", err.Error()),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue