Skip to content
This repository was archived by the owner on Aug 30, 2019. It is now read-only.

cmd/trace-agent: group tag stats together and add tests#482

Merged
gbbr merged 1 commit into
masterfrom
gbbr/stats
Oct 5, 2018
Merged

cmd/trace-agent: group tag stats together and add tests#482
gbbr merged 1 commit into
masterfrom
gbbr/stats

Conversation

@gbbr

@gbbr gbbr commented Oct 5, 2018

Copy link
Copy Markdown
Contributor

No description provided.

@gbbr gbbr added this to the 6.6.0 milestone Oct 5, 2018
@gbbr
gbbr requested review from LotharSee and vlad-mh October 5, 2018 15:53
Comment thread cmd/trace-agent/agent.go

priorityPtr := &ts.TracesPriorityNone
if hasPriority {
if priority < 0 {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

would a switch be easier to read?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't know, I was pondering that myself. I will rewrite it as an experiment in the next PR and if yes, commit.

@gbbr
gbbr merged commit 47b877c into master Oct 5, 2018
@gbbr
gbbr deleted the gbbr/stats branch October 5, 2018 17:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants