Skip to content

Commit

Permalink
fix /info endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jehiah committed Nov 21, 2020
1 parent 07cf14d commit f59bbd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsqd/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,8 @@ func (s *httpServer) doInfo(w http.ResponseWriter, req *http.Request, ps httprou
TCPPort: s.ctx.nsqd.RealTCPAddr().Port,
HTTPPort: s.ctx.nsqd.RealHTTPAddr().Port,
StartTime: s.ctx.nsqd.GetStartTime().Unix(),
TopologyZone: s.ctx.nsqd.GetOpts().TopologyZone,
TopologyRegion: s.ctx.nsqd.GetOpts().TopologyRegion,
TopologyZone: s.ctx.nsqd.getOpts().TopologyZone,
TopologyRegion: s.ctx.nsqd.getOpts().TopologyRegion,
}, nil
}

Expand Down

0 comments on commit f59bbd5

Please sign in to comment.