Skip to content

Commit

Permalink
Merge pull request #1271 from TangDH03/master
Browse files Browse the repository at this point in the history
nsqlookupd: fix listen error lists incorrect address
  • Loading branch information
ploxiln authored Jul 30, 2020
2 parents 7d1d1b0 + e040792 commit 1124ec8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nsqlookupd/nsqlookupd.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func New(opts *Options) (*NSQLookupd, error) {
}
l.httpListener, err = net.Listen("tcp", opts.HTTPAddress)
if err != nil {
return nil, fmt.Errorf("listen (%s) failed - %s", opts.TCPAddress, err)
return nil, fmt.Errorf("listen (%s) failed - %s", opts.HTTPAddress, err)
}

return l, nil
Expand Down

0 comments on commit 1124ec8

Please sign in to comment.