Upgrade k8s package verison (#5358)
* upgrade k8s package version Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> * Script upgrade and code formatting. Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io> Signed-off-by: hongzhouzi <hongzhouzi@kubesphere.io>
This commit is contained in:
2
vendor/k8s.io/apiserver/pkg/server/mux/OWNERS
generated
vendored
2
vendor/k8s.io/apiserver/pkg/server/mux/OWNERS
generated
vendored
@@ -1,4 +1,4 @@
|
||||
# See the OWNERS docs at https://go.k8s.io/owners
|
||||
|
||||
reviewers:
|
||||
- sttts
|
||||
- sttts
|
||||
|
||||
5
vendor/k8s.io/apiserver/pkg/server/mux/pathrecorder.go
generated
vendored
5
vendor/k8s.io/apiserver/pkg/server/mux/pathrecorder.go
generated
vendored
@@ -103,10 +103,11 @@ func (m *PathRecorderMux) ListedPaths() []string {
|
||||
}
|
||||
|
||||
func (m *PathRecorderMux) trackCallers(path string) {
|
||||
stack := string(debug.Stack())
|
||||
if existingStack, ok := m.pathStacks[path]; ok {
|
||||
utilruntime.HandleError(fmt.Errorf("registered %q from %v", path, existingStack))
|
||||
utilruntime.HandleError(fmt.Errorf("duplicate path registration of %q: original registration from %v\n\nnew registration from %v", path, existingStack, stack))
|
||||
}
|
||||
m.pathStacks[path] = string(debug.Stack())
|
||||
m.pathStacks[path] = stack
|
||||
}
|
||||
|
||||
// refreshMuxLocked creates a new mux and must be called while locked. Otherwise the view of handlers may
|
||||
|
||||
Reference in New Issue
Block a user