Skip to content

Commit 8b7d042

Browse files
committed
fix method name
1 parent 53a6302 commit 8b7d042

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

cmd/mcp-operator/app/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ func (o *Options) run(ctx context.Context) error {
348348
if o.ActiveControllers.Has(ControllerIDAPIServer) {
349349
// APIServer controller
350350
// build platform cluster client for v2 path
351-
v2scheme := v2install.InstallOperatorAPIs(runtime.NewScheme())
351+
v2scheme := v2install.InstallOperatorAPIsPlatform(runtime.NewScheme())
352352
platformClient, err := client.New(o.LaaSClusterConfig, client.Options{
353353
Scheme: v2scheme,
354354
})

test/utils/test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ func init() {
3232
utilruntime.Must(gardenv1beta1.AddToScheme(Scheme))
3333
utilruntime.Must(gardenauthenticationv1alpha1.AddToScheme(Scheme))
3434
utilruntime.Must(clientgoscheme.AddToScheme(Scheme))
35-
v2install.InstallOperatorAPIs(Scheme)
35+
v2install.InstallOperatorAPIsPlatform(Scheme)
36+
v2install.InstallOperatorAPIsOnboarding(Scheme)
3637
lsv2install.InstallProviderAPIs(Scheme)
3738
}
3839

0 commit comments

Comments
 (0)