Skip to content

Commit 4d00173

Browse files
committed
refactor cleanup
1 parent 6c6bc00 commit 4d00173

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nsqd/http.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func (s *httpServer) getTopicFromQuery(req *http.Request) (url.Values, *Topic, e
180180
if !protocol.IsValidTopicName(topicName) {
181181
return nil, nil, http_api.Err{400, "INVALID_TOPIC"}
182182
}
183-
topic := s.ctx.nsqd.GetTopic(topicName)
183+
topic := s.nsqd.GetTopic(topicName)
184184
if topic == nil {
185185
return nil, nil, http_api.Err{503, "EXITING"}
186186
}

0 commit comments

Comments
 (0)