Skip to content

Commit d64eec9

Browse files
authored
Merge pull request #7156 from requilence/patch-1
fix the typo in the serveHTTPApi
2 parents 2560e46 + 90b7b53 commit d64eec9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cmd/ipfs/daemon.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ func serveHTTPApi(req *cmds.Request, cctx *oldcmds.Context) (<-chan error, error
473473
for _, addr := range apiAddrs {
474474
apiMaddr, err := ma.NewMultiaddr(addr)
475475
if err != nil {
476-
return nil, fmt.Errorf("serveHTTPApi: invalid API address: %q (err: %s)", apiAddr, err)
476+
return nil, fmt.Errorf("serveHTTPApi: invalid API address: %q (err: %s)", addr, err)
477477
}
478478
if listenerAddrs[string(apiMaddr.Bytes())] {
479479
continue

0 commit comments

Comments
 (0)