From 14182c142010224266848db8b542df2c5f67bd90 Mon Sep 17 00:00:00 2001 From: Guangwen Feng Date: Wed, 19 Feb 2020 14:25:44 +0800 Subject: [PATCH] Fix golint warning in labels.go (#6839) Signed-off-by: Guangwen Feng --- pkg/labels/labels.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/labels/labels.go b/pkg/labels/labels.go index b919408ed..757d96847 100644 --- a/pkg/labels/labels.go +++ b/pkg/labels/labels.go @@ -200,7 +200,7 @@ func (ls Labels) Has(name string) bool { return false } -// HasDuplicateLabels returns whether ls has duplicate label names. +// HasDuplicateLabelNames returns whether ls has duplicate label names. // It assumes that the labelset is sorted. func (ls Labels) HasDuplicateLabelNames() (string, bool) { for i, l := range ls {