Merge pull request #30 from mateon1/fix/proofread-and-whitespace
Fix typo and remove trailing whitespace.
This commit is contained in:
commit
8293965b88
|
@ -50,7 +50,7 @@ This makes broadcasting operations, contacting the Cluster leader really easy. I
|
|||
|
||||
### Code layout
|
||||
|
||||
Currently, all components live in the same `ipfscluster` Go module, but they shall be moved to their own submodules without trouble in the future.
|
||||
Currently, all components live in the same `ipfscluster` Go module, but they shall be moved to their own submodules without trouble in the future.
|
||||
|
||||
## Applications
|
||||
|
||||
|
|
|
@ -427,7 +427,7 @@ func makeHost(ctx context.Context, cfg *Config) (host.Host, error) {
|
|||
// Perform a sync rpc request to multiple destinations
|
||||
func (c *Cluster) multiRPC(dests []peer.ID, svcName, svcMethod string, args interface{}, reply []interface{}) []error {
|
||||
if len(dests) != len(reply) {
|
||||
panic("must have mathing dests and replies")
|
||||
panic("must have matching dests and replies")
|
||||
}
|
||||
var wg sync.WaitGroup
|
||||
errs := make([]error, len(dests), len(dests))
|
||||
|
|
|
@ -32,7 +32,7 @@ var Description = fmt.Sprintf(`
|
|||
Use "%s help" to list all available commands and "%s help <command>"
|
||||
to get usage information for a specific one.
|
||||
|
||||
%s uses the IPFS Cluster API to perform requests and display
|
||||
%s uses the IPFS Cluster API to perform requests and display
|
||||
responses in a user-readable format. The location of the IPFS
|
||||
Cluster server is assumed to be %s, but can be
|
||||
configured with the -host option.
|
||||
|
@ -106,7 +106,7 @@ This command lists the nodes participating in the IPFS Cluster.
|
|||
LongDesc: `
|
||||
Usage: pin add|rm|ls [cid]
|
||||
|
||||
This command allows to add, remove or list items managed (pinned) by
|
||||
This command allows to add, remove or list items managed (pinned) by
|
||||
the Cluster.
|
||||
`},
|
||||
"pin add": cmd{
|
||||
|
@ -184,7 +184,7 @@ Usage: sync [cid]
|
|||
This command verifies that the current status tracked CIDs are accurate by
|
||||
triggering queries to the IPFS daemons that pin them. When the CID is in
|
||||
error state, either because pinning or unpinning failed, IPFS Cluster will
|
||||
attempt to retry the operation. If a CID is provided, the sync and recover
|
||||
attempt to retry the operation. If a CID is provided, the sync and recover
|
||||
operations will be limited to that single item.
|
||||
`},
|
||||
"version": cmd{
|
||||
|
|
|
@ -28,8 +28,8 @@ This node also provides an API for cluster management, an IPFS Proxy API which
|
|||
forwards requests to IPFS and a number of components for internal communication
|
||||
using LibP2P.
|
||||
|
||||
%s needs a valid configuration to run. This configuration is
|
||||
independent from IPFS and includes its own LibP2P key-pair. It can be
|
||||
%s needs a valid configuration to run. This configuration is
|
||||
independent from IPFS and includes its own LibP2P key-pair. It can be
|
||||
initialized with -init and its default location is
|
||||
~/%s/%s.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user