1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 11:31:54 +08:00

Fix mulitaddr typo

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
This commit is contained in:
Lars Gierth
2018-02-03 16:10:51 +01:00
committed by Lars Gierth
parent eca0486e1a
commit bee272a05e

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