Merge pull request #12577 from sdminonne/bug_fix2

to fix go vet: composite literal uses unkeyed fields
This commit is contained in:
Piotr Szczesniak 2015-08-12 11:21:59 +02:00
commit c00c5b680f

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