Switch to versioned ListOptions in server.

This commit is contained in:
Wojciech Tyczynski
2015-12-16 14:02:09 +01:00
parent 837a070d2f
commit 58336829be
34 changed files with 218 additions and 232 deletions

View File

@@ -39,14 +39,6 @@ func init() {
obj.FieldSelector = fields.Everything()
}
},
func(obj *unversioned.ListOptions) {
if obj.LabelSelector.Selector == nil {
obj.LabelSelector = unversioned.LabelSelector{labels.Everything()}
}
if obj.FieldSelector.Selector == nil {
obj.FieldSelector = unversioned.FieldSelector{fields.Everything()}
}
},
)
Scheme.AddConversionFuncs(
func(in *unversioned.Time, out *unversioned.Time, s conversion.Scope) error {