mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-22 13:17:07 +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 (
|
||||
"io"
|
||||
"net"
|
||||
"net/http"
|
||||
"path/filepath"
|
||||
"reflect"
|
||||
@ -236,6 +237,8 @@ func TestAnonymousConfig(t *testing.T) {
|
||||
func(r *clientcmdapi.AuthProviderConfig, f fuzz.Continue) {
|
||||
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++ {
|
||||
original := &Config{}
|
||||
|
Loading…
Reference in New Issue
Block a user