mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #42711 from xilabao/small-fix-in-audit-log
Automatic merge from submit-queue clean auditStringSlice in audit
This commit is contained in:
commit
eccba3b6d0
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user