mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-29 09:34:03 +08:00
reword error message to confuse whyrusleeping less
License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>
This commit is contained in:
@ -19,6 +19,15 @@ import (
|
||||
u "github.com/ipfs/go-ipfs/util"
|
||||
)
|
||||
|
||||
const offlineIdErrorMessage = `'ipfs id' currently cannot query information on remote
|
||||
peers without a running daemon; we are working to fix this.
|
||||
In the meantime, if you want to query remote peers using 'ipfs id',
|
||||
please run the daemon:
|
||||
|
||||
ipfs daemon &
|
||||
ipfs id QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ
|
||||
`
|
||||
|
||||
type IdOutput struct {
|
||||
ID string
|
||||
PublicKey string
|
||||
|
Reference in New Issue
Block a user