mirror of
https://github.com/ipfs/kubo.git
synced 2025-07-02 20:32:58 +08:00
namesys/publisher: Drop the 'namesys: ' prefix for the Publish log
This is already handled by setup in namesys/routing.go: var log = u.Logger("namesys")
This commit is contained in:
@ -42,7 +42,7 @@ func NewRoutingPublisher(route routing.IpfsRouting) Publisher {
|
|||||||
// Publish implements Publisher. Accepts a keypair and a value,
|
// Publish implements Publisher. Accepts a keypair and a value,
|
||||||
// and publishes it out to the routing system
|
// and publishes it out to the routing system
|
||||||
func (p *ipnsPublisher) Publish(ctx context.Context, k ci.PrivKey, value path.Path) error {
|
func (p *ipnsPublisher) Publish(ctx context.Context, k ci.PrivKey, value path.Path) error {
|
||||||
log.Debugf("namesys: Publish %s", value)
|
log.Debugf("Publish %s", value)
|
||||||
|
|
||||||
data, err := createRoutingEntryData(k, value)
|
data, err := createRoutingEntryData(k, value)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Reference in New Issue
Block a user