Skip to content

Commit

Permalink
Fix mulitaddr typo
Browse files Browse the repository at this point in the history
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
  • Loading branch information
Lars Gierth authored and Lars Gierth committed Feb 10, 2018
1 parent eca0486 commit bee272a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/ipfs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ func getApiClient(repoPath, apiAddrStr string) (http.Client, error) {
return nil, err
}
if len(addr.Protocols()) == 0 {
return nil, fmt.Errorf("mulitaddr doesn't provide any protocols")
return nil, fmt.Errorf("multiaddr doesn't provide any protocols")
}
} else {
addr, err = fsrepo.APIAddr(repoPath)
Expand Down

0 comments on commit bee272a

Please sign in to comment.