提交 bee272a0 作者: Lars Gierth 提交者: Lars Gierth

Fix mulitaddr typo

License: MIT
Signed-off-by: 's avatarLars Gierth <larsg@systemli.org>
上级 eca0486e
...@@ -452,7 +452,7 @@ func getApiClient(repoPath, apiAddrStr string) (http.Client, error) { ...@@ -452,7 +452,7 @@ func getApiClient(repoPath, apiAddrStr string) (http.Client, error) {
return nil, err return nil, err
} }
if len(addr.Protocols()) == 0 { 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 { } else {
addr, err = fsrepo.APIAddr(repoPath) addr, err = fsrepo.APIAddr(repoPath)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论