Skip to content

Commit

Permalink
Fix log message (#2594)
Browse files Browse the repository at this point in the history
  • Loading branch information
gammazero committed Apr 3, 2024
1 parent 0a167f8 commit d34b712
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/ingest/linksystem.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ func (ing *Ingester) ingestAd(ctx context.Context, publisherID peer.ID, adCid ci

// Register provider or update existing registration. The provider must be
// allowed by policy to be registered.
log.Debug("Updating provider registry with latest ad info")
err = ing.reg.Update(ctx, headProvider, publisher, adCid, extendedProviders, lag)
if err != nil {
// A registry.ErrMissingProviderAddr error is not considered a
Expand Down Expand Up @@ -278,7 +279,7 @@ func (ing *Ingester) ingestAd(ctx context.Context, publisherID peer.ID, adCid ci
if ad.Entries != schema.NoEntries {
return false, false, adIngestError{adIngestMalformedErr, fmt.Errorf("advertisement missing metadata")}
}
log.Info("Advertisement is for removal by context id")
log.Info("Advertisement is for provider address update only")
return false, false, nil
}

Expand Down

0 comments on commit d34b712

Please sign in to comment.