Downgrade bootstrap node error

It's very noisy in the test logs, and probably indicates user error (which may be a warning), rather than an actual, unexpected error.
This commit is contained in:
Matt Joiner 2019-03-27 13:38:31 +11:00
parent 8e2016274f
commit f78a561eba

View File

@ -80,7 +80,7 @@ func Bootstrap(n *IpfsNode, cfg BootstrapConfig) (io.Closer, error) {
if len(cfg.BootstrapPeers()) == 0 {
// We *need* to bootstrap but we have no bootstrap peers
// configured *at all*, inform the user.
log.Error("no bootstrap nodes configured: go-ipfs may have difficulty connecting to the network")
log.Warning("no bootstrap nodes configured: go-ipfs may have difficulty connecting to the network")
}
// the periodic bootstrap function -- the connection supervisor