1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-07-22 16:52:43 +08:00

Merge pull request from ipfs/lgierth-patch-1

Fix mulitaddr typo
This commit is contained in:
Whyrusleeping
2018-02-13 00:29:29 -08:00
committed by GitHub

@ -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)