提交 6e2858e8 作者: Steven Allen

ping: cleanup error message

License: MIT
Signed-off-by: 's avatarSteven Allen <steven@stebalien.com>
上级 3c9be59c
......@@ -75,7 +75,7 @@ trip latency information.
numPings, _ := req.Options[pingCountOptionName].(int)
if numPings <= 0 {
return fmt.Errorf("error: ping count must be greater than 0, was %d", numPings)
return fmt.Errorf("ping count must be greater than 0, was %d", numPings)
}
if len(n.Peerstore.Addrs(pid)) == 0 {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论