Merge pull request #12577 from sdminonne/bug_fix2

to fix go vet: composite literal uses unkeyed fields
pull/6/head
Piotr Szczesniak 2015-08-12 11:21:59 +02:00
commit c00c5b680f
1 changed files with 1 additions and 1 deletions

View File

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