Skip to content

Commit

Permalink
Merge pull request #753 from jehiah/nsqadmin_fix_753
Browse files Browse the repository at this point in the history
nsqadmin: missing channel from topic list
  • Loading branch information
mreiferson authored Jul 31, 2018
2 parents bd122fc + 598e111 commit f0dd3c3
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion internal/clusterinfo/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ func (t *TopicStats) Add(a *TopicStats) {
if a.Paused {
t.Paused = a.Paused
}
found := false
for _, aChannelStats := range a.Channels {
found := false
for _, channelStats := range t.Channels {
if aChannelStats.ChannelName == channelStats.ChannelName {
found = true
Expand Down
30 changes: 15 additions & 15 deletions nsqadmin/bindata.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion nsqadmin/static/js/views/topic.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
{{#if ../graph_active}}
<td class="bold rate" target="{{rate "topic" node topic_name ""}}"></td>
{{/if}}
<td>{{commafy ../channels.length}}</td>
<td>{{commafy this/channels.length}}</td>
{{#if e2e_processing_latency.percentiles.length}}
{{#each e2e_processing_latency.percentiles}}
<td>
Expand Down

0 comments on commit f0dd3c3

Please sign in to comment.