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
9c72a336
Unverified
Commit
9c72a336
authored
Feb 11, 2019
by
Kubernetes Prow Robot
Committed by
GitHub
Feb 11, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #73896 from ping035627/k8s-190211
Fix function comment to consistent with its name
parents
69cf2684
d8e3d11c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
server.go
cmd/kube-scheduler/app/server.go
+2
-2
No files found.
cmd/kube-scheduler/app/server.go
View file @
9c72a336
...
...
@@ -214,7 +214,7 @@ func Run(cc schedulerserverconfig.CompletedConfig, stopCh <-chan struct{}) error
// TODO: handle stoppedCh returned by c.SecureServing.Serve
if
_
,
err
:=
cc
.
SecureServing
.
Serve
(
handler
,
0
,
stopCh
);
err
!=
nil
{
// fail early for secure handlers, removing the old error loop from above
return
fmt
.
Errorf
(
"failed to start
healthz
server: %v"
,
err
)
return
fmt
.
Errorf
(
"failed to start
secure
server: %v"
,
err
)
}
}
...
...
@@ -306,7 +306,7 @@ func newMetricsHandler(config *kubeschedulerconfig.KubeSchedulerConfiguration) h
return
pathRecorderMux
}
// newHealthz
Serv
er creates a healthz server from the config, and will also
// newHealthz
Handl
er creates a healthz server from the config, and will also
// embed the metrics handler if the healthz and metrics address configurations
// are the same.
func
newHealthzHandler
(
config
*
kubeschedulerconfig
.
KubeSchedulerConfiguration
,
separateMetrics
bool
,
checks
...
healthz
.
HealthzChecker
)
http
.
Handler
{
...
...
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