提交 2280d669 作者: Kejie Zhang

modify log level and update note

License: MIT
Signed-off-by: 's avatarKejie Zhang <601172892@qq.com>
上级 c2bb1ad7
...@@ -118,7 +118,7 @@ func bootstrapRound(ctx context.Context, host host.Host, cfg BootstrapConfig) er ...@@ -118,7 +118,7 @@ func bootstrapRound(ctx context.Context, host host.Host, cfg BootstrapConfig) er
// sure we remain observant of changes to client configuration. // sure we remain observant of changes to client configuration.
peers := cfg.BootstrapPeers() peers := cfg.BootstrapPeers()
if len(peers) == 0 { if len(peers) == 0 {
log.Warning("no bootstrap in the configuration file") log.Error("no bootstrap nodes configured: go-ipfs may have difficulty connecting to the network")
} }
// determine how many bootstrap connections to open // determine how many bootstrap connections to open
connected := host.Network().Peers() connected := host.Network().Peers()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论