Commit c13e9d14 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #50893 from CaoShuFeng/fuzzer

Automatic merge from submit-queue (batch tested with PRs 50893, 50913, 50963, 50629, 50640) [advanced audit api] fuzz Event with random value This is an error import by me: https://github.com/kubernetes/kubernetes/pull/49115 We need to fuzz other parts of Event with random value, otherwise this round trip test will not make too much sense. @sttts @ericchiang is also researching this. **Release note**: ``` NONE ```
parents 7209cb76 f2ec6104
...@@ -28,6 +28,7 @@ import ( ...@@ -28,6 +28,7 @@ import (
func Funcs(codecs runtimeserializer.CodecFactory) []interface{} { func Funcs(codecs runtimeserializer.CodecFactory) []interface{} {
return []interface{}{ return []interface{}{
func(e *audit.Event, c fuzz.Continue) { func(e *audit.Event, c fuzz.Continue) {
c.FuzzNoCustom(e)
switch c.RandBool() { switch c.RandBool() {
case true: case true:
e.RequestObject = nil e.RequestObject = nil
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment