diff --git a/nsqd/http.go b/nsqd/http.go index cd18212fc..273942411 100644 --- a/nsqd/http.go +++ b/nsqd/http.go @@ -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 }