mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-01 06:17:56 +08:00
namecache: wtf is just not a good unexpected error response
License: MIT Signed-off-by: vyzo <vyzo@hackzen.org>
This commit is contained in:
parent
8958b3d0a1
commit
dfc90e84e6
@ -175,7 +175,7 @@ func marshalFollowResult(res cmds.Response) (io.Reader, error) {
|
||||
if output.OK {
|
||||
state = "ok"
|
||||
} else {
|
||||
state = "wtf"
|
||||
state = "error"
|
||||
}
|
||||
|
||||
return strings.NewReader(state + "\n"), nil
|
||||
|
||||
Loading…
Reference in New Issue
Block a user