mirror of
https://github.com/kubernetes/client-go.git
synced 2025-09-21 19:17:04 +00:00
add more options for fetching openapiv3 in clients
remove serialized types from client update tests Kubernetes-commit: fec79e75a50f334d8384a5377513fc78222ea36a
This commit is contained in:
committed by
Kubernetes Publisher
parent
b6d3c8d376
commit
8b6ceae557
@@ -416,7 +416,7 @@ func TestOpenAPIMemCache(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
for k, v := range paths {
|
||||
original, err := v.Schema()
|
||||
original, err := v.SchemaPB()
|
||||
if !assert.NoError(t, err) {
|
||||
continue
|
||||
}
|
||||
@@ -426,7 +426,7 @@ func TestOpenAPIMemCache(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
schemaAgain, err := pathsAgain[k].Schema()
|
||||
schemaAgain, err := pathsAgain[k].SchemaPB()
|
||||
if !assert.NoError(t, err) {
|
||||
continue
|
||||
}
|
||||
@@ -442,7 +442,7 @@ func TestOpenAPIMemCache(t *testing.T) {
|
||||
continue
|
||||
}
|
||||
|
||||
schemaAgain, err = pathsAgain[k].Schema()
|
||||
schemaAgain, err = pathsAgain[k].SchemaPB()
|
||||
if !assert.NoError(t, err) {
|
||||
continue
|
||||
}
|
||||
|
Reference in New Issue
Block a user