Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nsqadmin: add client attributes #294

Merged
merged 2 commits into from
Jan 25, 2014
Merged

Conversation

elubow
Copy link
Contributor

@elubow elubow commented Jan 25, 2014

fixes #287

@@ -200,6 +201,20 @@ func init() {
{{range .ChannelStats.Clients}}
<tr>
<td>{{.ClientIdentifier}}</td>
<td>
{{gt .SampleRate 0}}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to be {{if gt .SampleRate 0}} or else the template doesn't compile

@mreiferson
Copy link
Member

with the above two fixes and after testing locally this works great and LGTM 👍

mreiferson added a commit that referenced this pull request Jan 25, 2014
nsqadmin: add client attributes
@mreiferson mreiferson merged commit b442615 into nsqio:master Jan 25, 2014
elubow added a commit to elubow/nsq that referenced this pull request Jan 25, 2014
elubow added a commit to elubow/nsq that referenced this pull request Jan 26, 2014
mreiferson added a commit that referenced this pull request Jan 26, 2014
@elubow elubow deleted the sampling_admin branch January 26, 2014 04:57
windzhu0514 pushed a commit to windzhu0514/nsq that referenced this pull request May 15, 2020
fix(doc): wrong variable for producer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nsqadmin: add client metadata
2 participants