labels: improve comment on Builder.Set

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
pull/11717/head
Bryan Boreham 2 years ago
parent a19b369f9e
commit ea7345a09c

@ -468,7 +468,7 @@ Outer:
return b
}
// Set the name/value pair as a label.
// Set the name/value pair as a label. A value of "" means delete that label.
func (b *Builder) Set(n, v string) *Builder {
if v == "" {
// Empty labels are the same as missing labels.

Loading…
Cancel
Save