Merge pull request #106998 from eltociear/patch-7

Fix typo in get_test.go

Kubernetes-commit: 083c3ac4e8bbc1c337e01f57b0531ce5fd5843f6
This commit is contained in:
Kubernetes Publisher 2022-03-25 20:23:55 -07:00
commit 3bd39dceec
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ func TestGetObjectsWithOpenAPIOutputFormatPresent(t *testing.T) {
defer tf.Cleanup() defer tf.Cleanup()
codec := scheme.Codecs.LegacyCodec(scheme.Scheme.PrioritizedVersionsAllGroups()...) codec := scheme.Codecs.LegacyCodec(scheme.Scheme.PrioritizedVersionsAllGroups()...)
// overide the openAPISchema function to return custom output // override the openAPISchema function to return custom output
// for Pod type. // for Pod type.
tf.OpenAPISchemaFunc = testOpenAPISchemaData tf.OpenAPISchemaFunc = testOpenAPISchemaData
tf.UnstructuredClient = &fake.RESTClient{ tf.UnstructuredClient = &fake.RESTClient{