Remove references to v1/internal ExportOptions
This commit is contained in:
@@ -121,7 +121,6 @@ func TestRESTMapper(t *testing.T) {
|
||||
func TestUnversioned(t *testing.T) {
|
||||
for _, obj := range []runtime.Object{
|
||||
&unversioned.Status{},
|
||||
&unversioned.ExportOptions{},
|
||||
} {
|
||||
if unversioned, ok := internal.Scheme.IsUnversioned(obj); !unversioned || !ok {
|
||||
t.Errorf("%v is expected to be unversioned", reflect.TypeOf(obj))
|
||||
|
||||
@@ -129,7 +129,6 @@ func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
|
||||
// Register Unversioned types under their own special group
|
||||
scheme.AddUnversionedTypes(Unversioned,
|
||||
&unversioned.ExportOptions{},
|
||||
&unversioned.Status{},
|
||||
&unversioned.APIVersions{},
|
||||
&unversioned.APIGroupList{},
|
||||
|
||||
@@ -71,7 +71,7 @@ func addKnownTypes(scheme *runtime.Scheme) error {
|
||||
&PersistentVolumeClaim{},
|
||||
&PersistentVolumeClaimList{},
|
||||
&DeleteOptions{},
|
||||
&ExportOptions{},
|
||||
&unversioned.ExportOptions{},
|
||||
&ListOptions{},
|
||||
&PodAttachOptions{},
|
||||
&PodLogOptions{},
|
||||
|
||||
Reference in New Issue
Block a user