mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 20:24:09 +00:00
Merge pull request #45412 from CaoShuFeng/pathrecoder
Automatic merge from submit-queue (batch tested with PRs 43006, 45305, 45390, 45412, 45392) update the doc of function NewPathRecorderMux The doc of function NewPathRecorderMux() is out of date. Update it. **Release note**: ```release-note ```
This commit is contained in:
commit
9bd5d642ae
@ -71,7 +71,7 @@ type prefixHandler struct {
|
|||||||
handler http.Handler
|
handler http.Handler
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewPathRecorderMux creates a new PathRecorderMux with the given mux as the base mux.
|
// NewPathRecorderMux creates a new PathRecorderMux
|
||||||
func NewPathRecorderMux() *PathRecorderMux {
|
func NewPathRecorderMux() *PathRecorderMux {
|
||||||
ret := &PathRecorderMux{
|
ret := &PathRecorderMux{
|
||||||
pathToHandler: map[string]http.Handler{},
|
pathToHandler: map[string]http.Handler{},
|
||||||
|
Loading…
Reference in New Issue
Block a user