Skip to content

Commit

Permalink
fix typo in ipfs swarm peering rm command
Browse files Browse the repository at this point in the history
Fixes: #9247
  • Loading branch information
aya committed Sep 9, 2022
1 parent 1f67e84 commit be45350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/commands/swarm.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}),
},
Expand Down

0 comments on commit be45350

Please sign in to comment.