Fix golint warning in labels.go (#6839)

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
pull/6845/head
Guangwen Feng 5 years ago committed by GitHub
parent a188b1e91b
commit 14182c1420
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save