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

Automatic merge from submit-queue

clean auditStringSlice in audit
pull/6/head
Kubernetes Submit Queue 2017-04-18 03:03:21 -07:00 committed by GitHub
commit eccba3b6d0
1 changed files with 0 additions and 4 deletions

View File

@ -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)