1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:04:43 -07:00

Update label.go

removed "BUG(hyangah): ". Documenting it as a limitation seems sufficient.
This commit is contained in:
Komu Wairagu 2019-03-07 19:15:17 +03:00 committed by GitHub
parent a701779e77
commit be99a12629
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ 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.
// 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 {