mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-07 00:25:36 +00:00
Bump kube-openapi
This commit is contained in:
3
vendor/k8s.io/kube-openapi/pkg/util/proto/testing/openapi.go
generated
vendored
3
vendor/k8s.io/kube-openapi/pkg/util/proto/testing/openapi.go
generated
vendored
@@ -17,7 +17,6 @@ limitations under the License.
|
||||
package testing
|
||||
|
||||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"sync"
|
||||
|
||||
@@ -42,7 +41,7 @@ func (f *Fake) OpenAPISchema() (*openapi_v2.Document, error) {
|
||||
f.err = err
|
||||
return
|
||||
}
|
||||
spec, err := ioutil.ReadFile(f.Path)
|
||||
spec, err := os.ReadFile(f.Path)
|
||||
if err != nil {
|
||||
f.err = err
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user