mirror of https://github.com/k3s-io/k3s
Merge pull request #12577 from sdminonne/bug_fix2
to fix go vet: composite literal uses unkeyed fieldspull/6/head
commit
c00c5b680f
|
@ -61,7 +61,7 @@ func NewStorage(s storage.Interface) *REST {
|
|||
}
|
||||
|
||||
func MatchServices(label labels.Selector, field fields.Selector) generic.Matcher {
|
||||
return &generic.SelectionPredicate{label, field, ServiceAttributes}
|
||||
return &generic.SelectionPredicate{Label: label, Field: field, GetAttrs: ServiceAttributes}
|
||||
}
|
||||
|
||||
func ServiceAttributes(obj runtime.Object) (objLabels labels.Set, objFields fields.Set, err error) {
|
||||
|
|
Loading…
Reference in New Issue