mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Remove api.ListOptions
This commit is contained in:
@@ -31,9 +31,9 @@ var Codec = runtime.CodecFor(Scheme, "")
|
||||
|
||||
func init() {
|
||||
Scheme.AddDefaultingFuncs(
|
||||
func(obj *ListOptions) {
|
||||
obj.LabelSelector = labels.Everything()
|
||||
obj.FieldSelector = fields.Everything()
|
||||
func(obj *unversioned.ListOptions) {
|
||||
obj.LabelSelector = unversioned.LabelSelector{labels.Everything()}
|
||||
obj.FieldSelector = unversioned.FieldSelector{fields.Everything()}
|
||||
},
|
||||
// TODO: see about moving this into v1/defaults.go
|
||||
func(obj *PodExecOptions) {
|
||||
|
||||
Reference in New Issue
Block a user