-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cleaned up ipfs id
mans
#2285
Cleaned up ipfs id
mans
#2285
Conversation
@@ -19,7 +19,7 @@ import ( | |||
u "github.com/ipfs/go-ipfs/util" | |||
) | |||
|
|||
const offlineIdErrorMessage = `ID command fails when run without daemon, we are working to fix this. | |||
const offlineIdErrorMessage = `Id command fails when run without the daemon; we are working to fix this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huh, this is no longer true. You can run ipfs id
without a running daemon just fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah. You don't even use the daemon anymore; it doesn't hit it at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mind removing this in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
babd707
to
d5153db
Compare
okay, after seeing the test failures and looking into it a little more, i see why we had that message. Its for if we try to |
@RichardLitt rewrote that error message in a way that makes more sense to me. Wanna look it over? |
In the meantime, please run the daemon if you want to use 'ipfs id': | ||
const offlineIdErrorMessage = `'ipfs id' currently cannot query information on remote | ||
peers without a running daemon; we are working to fix this. | ||
In the meantime, please run the daemon if you want to use 'ipfs id' in that way: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"In the meantime, if you want to query remote peers using 'ipfs id', please run the daemon:"
License: MIT Signed-off-by: Richard Littauer <[email protected]>
License: MIT Signed-off-by: Jeromy <[email protected]>
8202a00
to
15d827b
Compare
LGTM. Might clash with #2300. |
Cleaned up `ipfs id` mans
@RichardLitt wanna rebase #2300? |
@whyrusleeping Done! |
License: MIT
Signed-off-by: Richard Littauer [email protected]