Fix function comment

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
PingWang 2018-11-10 15:38:56 +08:00
parent bb4fbc2770
commit 7750422a9d
2 changed files with 2 additions and 2 deletions

View File

@ -291,7 +291,7 @@ func newMetricsHandler(config *kubeschedulerconfig.KubeSchedulerConfiguration) h
return pathRecorderMux
}
// newHealthzServer creates a healthz server from the config, and will also
// newHealthzHandler 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) http.Handler {

View File

@ -55,7 +55,7 @@ type PathRecorderMux struct {
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 satisfy requests first by exact match, then by prefix,
// then by notFoundHandler
type pathHandler struct {
// muxName is used for logging so you can trace requests through