From ea7345a09c3f566ebd4ee30cafc8b77ff98f8f5b Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Tue, 13 Dec 2022 19:02:25 +0000 Subject: [PATCH] labels: improve comment on Builder.Set Signed-off-by: Bryan Boreham --- model/labels/labels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/labels/labels.go b/model/labels/labels.go index 103e8e5c3..08c353c8a 100644 --- a/model/labels/labels.go +++ b/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.