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
7750422a
Commit
7750422a
authored
Nov 10, 2018
by
PingWang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix function comment
Signed-off-by:
PingWang
<
wang.ping5@zte.com.cn
>
parent
bb4fbc27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
server.go
cmd/kube-scheduler/app/server.go
+1
-1
pathrecorder.go
staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go
+1
-1
No files found.
cmd/kube-scheduler/app/server.go
View file @
7750422a
...
@@ -291,7 +291,7 @@ func newMetricsHandler(config *kubeschedulerconfig.KubeSchedulerConfiguration) h
...
@@ -291,7 +291,7 @@ func newMetricsHandler(config *kubeschedulerconfig.KubeSchedulerConfiguration) h
return
pathRecorderMux
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
// embed the metrics handler if the healthz and metrics address configurations
// are the same.
// are the same.
func
newHealthzHandler
(
config
*
kubeschedulerconfig
.
KubeSchedulerConfiguration
,
separateMetrics
bool
)
http
.
Handler
{
func
newHealthzHandler
(
config
*
kubeschedulerconfig
.
KubeSchedulerConfiguration
,
separateMetrics
bool
)
http
.
Handler
{
...
...
staging/src/k8s.io/apiserver/pkg/server/mux/pathrecorder.go
View file @
7750422a
...
@@ -55,7 +55,7 @@ type PathRecorderMux struct {
...
@@ -55,7 +55,7 @@ type PathRecorderMux struct {
pathStacks
map
[
string
]
string
pathStacks
map
[
string
]
string
}
}
// pathHandler is an http.Handler that will satify requests first by exact match, then by prefix,
// pathHandler is an http.Handler that will sati
s
fy requests first by exact match, then by prefix,
// then by notFoundHandler
// then by notFoundHandler
type
pathHandler
struct
{
type
pathHandler
struct
{
// muxName is used for logging so you can trace requests through
// muxName is used for logging so you can trace requests through
...
...
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