ipfs-cluster/pstoremgr
Kishan Sagathiya e7b731e0e4 Fix #835: service: init --peers
* Init should take a list of peers

This commit adds `--peers` option to `ipfs-cluster-service init`

`ipfs-cluster-service init --peers <multiaddress,multiaddress>`

- Adds and writes the given peers to the peerstore file
- For raft config section, adds the peer IDs to the `init_peerset`
- For crdt config section, add the peer IDs to the `trusted_peers`
2019-07-25 10:47:44 +02:00
..
pstoremgr_test.go Fix #835: service: init --peers 2019-07-25 10:47:44 +02:00
pstoremgr.go Fix #835: service: init --peers 2019-07-25 10:47:44 +02:00