Browse Source

labels: improve comment on Builder.Set

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

2
model/labels/labels.go

@ -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