modify log level and update note
License: MIT Signed-off-by: Kejie Zhang <601172892@qq.com>
Kejie Zhang committed
Sep 11, 2018 at 10:00 UTC
2280d6692c2ae782388e94ae831cfa9ab51969dd
1 file changed
+1
-1
core/bootstrap.go
+1
-1
@@ -118,7 +118,7 @@ func bootstrapRound(ctx context.Context, host host.Host, cfg BootstrapConfig) er
118
// sure we remain observant of changes to client configuration.
119
peers := cfg.BootstrapPeers()
120
if len(peers) == 0 {
121
- log.Warning("no bootstrap in the configuration file")
121
+ log.Error("no bootstrap nodes configured: go-ipfs may have difficulty connecting to the network")
122
}
123
// determine how many bootstrap connections to open
124
connected := host.Network().Peers()