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
6990a639
Commit
6990a639
authored
Sep 04, 2018
by
walter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaned up lint errors in pkg/kubeapiserver/server.
parent
3fe21e54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
.golint_failures
hack/.golint_failures
+0
-1
insecure_handler.go
pkg/kubeapiserver/server/insecure_handler.go
+1
-0
No files found.
hack/.golint_failures
View file @
6990a639
...
@@ -144,7 +144,6 @@ pkg/kubeapiserver/authenticator
...
@@ -144,7 +144,6 @@ pkg/kubeapiserver/authenticator
pkg/kubeapiserver/authorizer
pkg/kubeapiserver/authorizer
pkg/kubeapiserver/authorizer/modes
pkg/kubeapiserver/authorizer/modes
pkg/kubeapiserver/options
pkg/kubeapiserver/options
pkg/kubeapiserver/server
pkg/kubectl
pkg/kubectl
pkg/kubectl/apps
pkg/kubectl/apps
pkg/kubectl/cmd
pkg/kubectl/cmd
...
...
pkg/kubeapiserver/server/insecure_handler.go
View file @
6990a639
...
@@ -28,6 +28,7 @@ import (
...
@@ -28,6 +28,7 @@ import (
// You shouldn't be using this. It makes sig-auth sad.
// You shouldn't be using this. It makes sig-auth sad.
// DeprecatedInsecureServingInfo *ServingInfo
// DeprecatedInsecureServingInfo *ServingInfo
// BuildInsecureHandlerChain sets up the server to listen to http. Should be removed.
func
BuildInsecureHandlerChain
(
apiHandler
http
.
Handler
,
c
*
server
.
Config
)
http
.
Handler
{
func
BuildInsecureHandlerChain
(
apiHandler
http
.
Handler
,
c
*
server
.
Config
)
http
.
Handler
{
handler
:=
apiHandler
handler
:=
apiHandler
handler
=
genericapifilters
.
WithAudit
(
handler
,
c
.
AuditBackend
,
c
.
AuditPolicyChecker
,
c
.
LongRunningFunc
)
handler
=
genericapifilters
.
WithAudit
(
handler
,
c
.
AuditBackend
,
c
.
AuditPolicyChecker
,
c
.
LongRunningFunc
)
...
...
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