Merge pull request #106998 from eltociear/patch-7
Fix typo in get_test.go Kubernetes-commit: 083c3ac4e8bbc1c337e01f57b0531ce5fd5843f6
This commit is contained in:
commit
3bd39dceec
|
|
@ -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{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue