mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-11-02 14:51:58 +00:00
let dynamic client handle non-registered ListOptions;
register ListOptions for apis/policy
This commit is contained in:
@@ -41,6 +41,7 @@ func addKnownTypes(scheme *runtime.Scheme) {
|
||||
&Job{},
|
||||
&JobList{},
|
||||
&v1.ListOptions{},
|
||||
&v1.DeleteOptions{},
|
||||
)
|
||||
versionedwatch.AddToGroupVersion(scheme, SchemeGroupVersion)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user