Skip to content

Commit

Permalink
address codereview feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
komuw committed Dec 4, 2018
1 parent 53115b4 commit a701779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/pprof/label.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ func WithLabels(ctx context.Context, labels LabelSet) context.Context {
// Labels takes an even number of strings representing key-value pairs
// and makes a LabelSet containing them.
// A label overwrites a prior label with the same key.
// BUG(hyangah): Currently only CPU profile utilizes labels information..
// See https://github.com/golang/go/issues/23458 for details.
// BUG(hyangah): Currently only CPU profile utilizes labels information.
// See https://golang.org/issue/23458 for details.
func Labels(args ...string) LabelSet {
if len(args)%2 != 0 {
panic("uneven number of arguments to pprof.Labels")
Expand Down

0 comments on commit a701779

Please sign in to comment.