Address small typos pointed out by @mateon1

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
This commit is contained in:
Hector Sanjuan 2017-01-15 16:06:47 +01:00
parent 34f74a662c
commit 95e31ace87
2 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ In summary, it works as follows:
```
$ ipfscluster member ls # list cluster members
$ ipfscluster pin add Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # pins a Cid in the cluster
$ ipfscluster pin add Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # unpin a Cid from the cluster
$ ipfscluster pin add Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # unpins a Cid from the cluster
$ ipfscluster status # display tracked Cids information
$ ipfscluster sync Qma4Lid2T1F68E3Xa3CpE6vVJDLwxXLD8RfiB9g1Tmqp58 # recover Cids in error status
```

View File

@ -21,7 +21,7 @@ func TestApplyToPin(t *testing.T) {
op.ApplyTo(st)
pins := st.ListPins()
if len(pins) != 1 || pins[0].String() != testCid {
t.Error("the state was not modified correctly")
t.Error("the state was not modified correctly")
}
}
@ -39,7 +39,7 @@ func TestApplyToUnpin(t *testing.T) {
op.ApplyTo(st)
pins := st.ListPins()
if len(pins) != 0 {
t.Error("the state was not modified correctly")
t.Error("the state was not modified correctly")
}
}