1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-25 15:08:45 +08:00

this warning should only print out on debug

(perhaps should be logged instead)
This commit is contained in:
Juan Batiz-Benet
2014-09-20 07:19:35 -07:00
committed by Brian Tiger Chow
parent 74a0aa54ad
commit 370d2593dc

View File

@ -26,7 +26,7 @@ func NewBlockService(d ds.Datastore, rem exchange.Interface) (*BlockService, err
return nil, fmt.Errorf("BlockService requires valid datastore")
}
if rem == nil {
u.PErr("Caution: blockservice running in local (offline) mode.\n")
u.DErr("Caution: blockservice running in local (offline) mode.\n")
}
return &BlockService{Datastore: d, Remote: rem}, nil
}