Commit a884705f authored by Janoš Guljaš's avatar Janoš Guljaš Committed by GitHub

fix the reference to tags.ErrNotFound error type (#305)

parent 48b7d216
...@@ -141,7 +141,7 @@ func (s *Service) setChunkAsSynced(ctx context.Context, addr swarm.Address) { ...@@ -141,7 +141,7 @@ func (s *Service) setChunkAsSynced(ctx context.Context, addr swarm.Address) {
s.metrics.TotalChunksSynced.Inc() s.metrics.TotalChunksSynced.Inc()
ta, err := s.tag.GetByAddress(addr) ta, err := s.tag.GetByAddress(addr)
if err != nil { if err != nil {
if !errors.Is(err, tags.TagNotFoundErr) { if !errors.Is(err, tags.ErrNotFound) {
s.logger.Debugf("pusher: get tag by address %s: %v", addr, err) s.logger.Debugf("pusher: get tag by address %s: %v", addr, err)
} }
// return // until bzz api implements tags dont retunrn here // return // until bzz api implements tags dont retunrn here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment