diff options
author | Fabian Wickborn <fabian@wickborn.net> | 2017-07-05 10:09:05 +0200 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-07-05 18:26:47 +0000 |
commit | b5240daa2f56e7dd778cfbab17adecbf50a62674 (patch) | |
tree | 744f9004bca698e9c51f3dfe092d87c71a893cec /src/runtime | |
parent | 6c4f3a0c16e5da3caa08cb8f368dc7db90bb211d (diff) | |
download | go-git-b5240daa2f56e7dd778cfbab17adecbf50a62674.tar.gz |
runtime/pprof: Fix type name in function comment
The name LabelList was changed to LabelSet during the development of the
proposal [1], except in one function comment. This commit fixes that.
Fixes #20905.
[1] https://github.com/golang/go/issues/17280
Change-Id: Id4f48d59d7d513fa24b2e42795c2baa5ceb78f36
Reviewed-on: https://go-review.googlesource.com/47470
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/runtime')
-rw-r--r-- | src/runtime/pprof/label.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/pprof/label.go b/src/runtime/pprof/label.go index 44da3f8737..35647ee3ce 100644 --- a/src/runtime/pprof/label.go +++ b/src/runtime/pprof/label.go @@ -52,7 +52,7 @@ func WithLabels(ctx context.Context, labels LabelSet) context.Context { } // Labels takes an even number of strings representing key-value pairs -// and makes a LabelList containing them. +// and makes a LabelSet containing them. // A label overwrites a prior label with the same key. func Labels(args ...string) LabelSet { if len(args)%2 != 0 { |