Skip to content

Commit

Permalink
fix: Fix P2P collection CLI commands (#1295)
Browse files Browse the repository at this point in the history
* Configure add to be child of rpc

To match what is present in the readme

* Configure get to be child of rpc

To match what is present in the readme

* Configure remove to be child of rpc

To match what is present in the readme
  • Loading branch information
AndrewSisley authored Apr 6, 2023
1 parent 50870ab commit 055e2ea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion cli/p2p_collection_add.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ var addP2PCollectionCmd = &cobra.Command{
}

func init() {
replicatorCmd.AddCommand(addP2PCollectionCmd)
p2pCollectionCmd.AddCommand(addP2PCollectionCmd)
}
2 changes: 1 addition & 1 deletion cli/p2p_collection_getall.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,5 +66,5 @@ var getAllP2PCollectionCmd = &cobra.Command{
}

func init() {
replicatorCmd.AddCommand(getAllP2PCollectionCmd)
p2pCollectionCmd.AddCommand(getAllP2PCollectionCmd)
}
2 changes: 1 addition & 1 deletion cli/p2p_collection_remove.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ var removeP2PCollectionCmd = &cobra.Command{
}

func init() {
replicatorCmd.AddCommand(removeP2PCollectionCmd)
p2pCollectionCmd.AddCommand(removeP2PCollectionCmd)
}

0 comments on commit 055e2ea

Please sign in to comment.