update dependencies (#6267)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
4
vendor/k8s.io/apiserver/pkg/server/mux/pathrecorder.go
generated
vendored
4
vendor/k8s.io/apiserver/pkg/server/mux/pathrecorder.go
generated
vendored
@@ -96,9 +96,11 @@ func NewPathRecorderMux(name string) *PathRecorderMux {
|
||||
|
||||
// ListedPaths returns the registered handler exposedPaths.
|
||||
func (m *PathRecorderMux) ListedPaths() []string {
|
||||
m.lock.Lock()
|
||||
handledPaths := append([]string{}, m.exposedPaths...)
|
||||
sort.Strings(handledPaths)
|
||||
m.lock.Unlock()
|
||||
|
||||
sort.Strings(handledPaths)
|
||||
return handledPaths
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user