From be4535093f468fc230df23ce67314bb11f12fb6b Mon Sep 17 00:00:00 2001 From: Yann Autissier Date: Fri, 9 Sep 2022 23:18:59 +0000 Subject: [PATCH] fix typo in ipfs swarm peering rm command Fixes: #9247 --- core/commands/swarm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/commands/swarm.go b/core/commands/swarm.go index 3232872ee136..dfda319b88a5 100644 --- a/core/commands/swarm.go +++ b/core/commands/swarm.go @@ -216,7 +216,7 @@ var swarmPeeringRmCmd = &cmds.Command{ Type: peeringResult{}, Encoders: cmds.EncoderMap{ cmds.Text: cmds.MakeTypedEncoder(func(req *cmds.Request, w io.Writer, pr *peeringResult) error { - fmt.Fprintf(w, "add %s %s\n", pr.ID.String(), pr.Status) + fmt.Fprintf(w, "remove %s %s\n", pr.ID.String(), pr.Status) return nil }), },