mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-15 05:53:15 +00:00
fix the webhook unit test; the server cert needs to have a valid CN;
fix a fuzzer; Kubernetes-commit: 856a1db57a05e19ea6261e38211d2ab1bf864dd1
This commit is contained in:
parent
baf97d23c3
commit
bae75f0568
@ -18,6 +18,7 @@ package rest
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"io"
|
"io"
|
||||||
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"reflect"
|
"reflect"
|
||||||
@ -236,6 +237,8 @@ func TestAnonymousConfig(t *testing.T) {
|
|||||||
func(r *clientcmdapi.AuthProviderConfig, f fuzz.Continue) {
|
func(r *clientcmdapi.AuthProviderConfig, f fuzz.Continue) {
|
||||||
r.Config = map[string]string{}
|
r.Config = map[string]string{}
|
||||||
},
|
},
|
||||||
|
// Dial does not require fuzzer
|
||||||
|
func(r *func(network, addr string) (net.Conn, error), f fuzz.Continue) {},
|
||||||
)
|
)
|
||||||
for i := 0; i < 20; i++ {
|
for i := 0; i < 20; i++ {
|
||||||
original := &Config{}
|
original := &Config{}
|
||||||
|
Loading…
Reference in New Issue
Block a user