Chore: Fix apiserver circular dependencies (#89918)

This commit is contained in:
Todd Treece
2024-07-01 11:42:34 -04:00
committed by GitHub
parent 6761ed863f
commit 9c6d3590a2
34 changed files with 94 additions and 258 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ func (r *queryREST) NewConnectOptions() (runtime.Object, bool, string) {
}
func (r *queryREST) Connect(connectCtx context.Context, name string, _ runtime.Object, incomingResponder rest.Responder) (http.Handler, error) {
// See: /pkg/apiserver/builder/helper.go#L34
// See: /pkg/services/apiserver/builder/helper.go#L34
// The name is set with a rewriter hack
if name != "name" {
return nil, errorsK8s.NewNotFound(schema.GroupResource{}, name)