File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,6 @@ import (
2929 "k8s.io/client-go/util/retry"
3030 "sigs.k8s.io/controller-runtime/pkg/client"
3131
32- clusterv1beta1 "github.com/kubefleet-dev/kubefleet/apis/cluster/v1beta1"
3332 placementv1beta1 "github.com/kubefleet-dev/kubefleet/apis/placement/v1beta1"
3433 toolsutils "github.com/kubefleet-dev/kubefleet/tools/utils"
3534)
@@ -122,9 +121,6 @@ func (o *approveOptions) run(ctx context.Context) error {
122121func (o * approveOptions ) setupClient () error {
123122 scheme := runtime .NewScheme ()
124123
125- if err := clusterv1beta1 .AddToScheme (scheme ); err != nil {
126- return fmt .Errorf ("failed to add custom APIs (cluster) to the runtime scheme: %w" , err )
127- }
128124 if err := placementv1beta1 .AddToScheme (scheme ); err != nil {
129125 return fmt .Errorf ("failed to add custom APIs (placement) to the runtime scheme: %w" , err )
130126 }
You can’t perform that action at this time.
0 commit comments