Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
eccba3b6
Commit
eccba3b6
authored
Apr 18, 2017
by
Kubernetes Submit Queue
Committed by
GitHub
Apr 18, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #42711 from xilabao/small-fix-in-audit-log
Automatic merge from submit-queue clean auditStringSlice in audit
parents
e91bd12b
4b8abd81
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
audit.go
staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit.go
+0
-4
No files found.
staging/src/k8s.io/apiserver/pkg/endpoints/filters/audit.go
View file @
eccba3b6
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment