change all PredicateFunc to use SelectionPredicate

This commit is contained in:
Hongchao Deng
2016-08-12 11:50:51 -07:00
parent e39d7f71e6
commit d4afb781c3
33 changed files with 213 additions and 228 deletions

View File

@@ -157,7 +157,7 @@ func TestSelectableFieldLabelConversions(t *testing.T) {
apitesting.TestSelectableFieldLabelConversionsOfKind(t,
testapi.Federation.GroupVersion().String(),
"Cluster",
labels.Set(ClusterToSelectableFields(&federation.Cluster{})),
ClusterToSelectableFields(&federation.Cluster{}),
nil,
)
}