Skip to content

Commit a7620b1

Browse files
committed
feat: use extra for project/cluster
1 parent a27ee55 commit a7620b1

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

internal/webhook/server.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package webhook
22

33
import (
44
"context"
5-
"fmt"
65
"net/http"
76

87
"sigs.k8s.io/controller-runtime/pkg/webhook"
@@ -26,8 +25,6 @@ func (s *clusterAwareWebhookServer) Register(path string, hook http.Handler) {
2625
})
2726
}
2827

29-
path = fmt.Sprintf("/clusters/{cluster_name}%s", path)
30-
3128
s.Server.Register(path, hook)
3229
}
3330

0 commit comments

Comments
 (0)