Fix golint issue in labels.go (#7730)

Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
This commit is contained in:
Guangwen Feng 2020-08-03 18:25:23 +08:00 committed by GitHub
parent ac677ed8b3
commit e6f2b8ad60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ func (ls Labels) WithLabels(names ...string) Labels {
return ret
}
// WithLabels returns a new labels.Labels from ls that contains labels not matching names.
// WithoutLabels returns a new labels.Labels from ls that contains labels not matching names.
// 'names' have to be sorted in ascending order.
func (ls Labels) WithoutLabels(names ...string) Labels {
ret := make([]Label, 0, len(ls))