[#1847] services/policer: Provide container ID in logs

Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
Evgenii Stratonikov 2022-10-06 18:49:50 +03:00 committed by fyrchik
parent c20c2e3b39
commit 5834f9807e

View file

@ -51,6 +51,7 @@ func (p *Policer) processObject(ctx context.Context, addr oid.Address) {
nn, err := p.placementBuilder.BuildPlacement(idCnr, &obj, policy)
if err != nil {
p.log.Error("could not build placement vector for object",
zap.Stringer("cid", idCnr),
zap.String("error", err.Error()),
)