Make all groups use metav1.AddToGroupVersion for ListOptions
This commit is contained in:
@@ -56,7 +56,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
&ClusterRoleBindingList{},
|
||||
&ClusterRoleList{},
|
||||
|
||||
&api.ListOptions{},
|
||||
&api.DeleteOptions{},
|
||||
&metav1.ExportOptions{},
|
||||
&metav1.GetOptions{},
|
||||
|
||||
@@ -51,7 +51,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
&ClusterRoleBindingList{},
|
||||
&ClusterRoleList{},
|
||||
|
||||
&v1.ListOptions{},
|
||||
&v1.DeleteOptions{},
|
||||
&metav1.ExportOptions{},
|
||||
&metav1.GetOptions{},
|
||||
|
||||
@@ -51,7 +51,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
&ClusterRoleBindingList{},
|
||||
&ClusterRoleList{},
|
||||
|
||||
&v1.ListOptions{},
|
||||
&v1.DeleteOptions{},
|
||||
&metav1.ExportOptions{},
|
||||
&metav1.GetOptions{},
|
||||
|
||||
Reference in New Issue
Block a user