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
8aff238c
Commit
8aff238c
authored
Apr 16, 2015
by
Robert Bailey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove an unused function in the kubelet code.
parent
1d9203d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
server.go
cmd/kubelet/app/server.go
+0
-14
No files found.
cmd/kubelet/app/server.go
View file @
8aff238c
...
...
@@ -317,20 +317,6 @@ func (s *KubeletServer) Run(_ []string) error {
}
func
(
s
*
KubeletServer
)
setupRunOnce
()
{
if
s
.
RunOnce
{
// Don't use apiserver source, on the presumption that this flag is used
// for bootstrapping some system pods.
if
len
(
s
.
APIServerList
)
>
0
{
glog
.
Fatalf
(
"invalid option: --runonce and --api_servers are mutually exclusive"
)
}
if
s
.
EnableServer
{
glog
.
Infof
(
"--runonce is set, disabling server"
)
s
.
EnableServer
=
false
}
}
}
// TODO: replace this with clientcmd
func
(
s
*
KubeletServer
)
createAPIServerClient
()
(
*
client
.
Client
,
error
)
{
authInfo
,
err
:=
clientauth
.
LoadFromFile
(
s
.
AuthPath
)
...
...
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