diff --git a/pkg/services/policer/process.go b/pkg/services/policer/process.go index eb2ce8e12e..6ddd8491a2 100644 --- a/pkg/services/policer/process.go +++ b/pkg/services/policer/process.go @@ -64,7 +64,7 @@ func (p *Policer) shardPolicyWorker(ctx context.Context) { p.processObject(ctx, addr) - p.cache.Add(addr, time.Now()) + p.cache.Add(addr.Address, time.Now()) p.objsInWork.remove(addr.Address) }) if err != nil {