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

Merge pull request #42711 from xilabao/small-fix-in-audit-log

Automatic merge from submit-queue clean auditStringSlice in audit
parents e91bd12b 4b8abd81
......@@ -139,10 +139,6 @@ func WithAudit(handler http.Handler, requestContextMapper request.RequestContext
}
func auditStringSlice(inList []string) string {
if len(inList) == 0 {
return ""
}
quotedElements := make([]string, len(inList))
for i, in := range inList {
quotedElements[i] = fmt.Sprintf("%q", in)
......
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