From 4b38ff3eec6bb3a3d0e6d0a59893754bf1e26233 Mon Sep 17 00:00:00 2001 From: Tamal Saha Date: Wed, 16 Oct 2024 02:24:35 -0700 Subject: [PATCH] wip Signed-off-by: Tamal Saha --- pkg/registry/meta/clusterprofile/storage.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/registry/meta/clusterprofile/storage.go b/pkg/registry/meta/clusterprofile/storage.go index 232d5151b..7293921f6 100644 --- a/pkg/registry/meta/clusterprofile/storage.go +++ b/pkg/registry/meta/clusterprofile/storage.go @@ -53,14 +53,14 @@ func NewStorage(kc client.Reader) *Storage { return &Storage{ kc: kc, convertor: rest.NewDefaultTableConvertor(schema.GroupResource{ - Group: uiapi.SchemeGroupVersion.Group, + Group: rsapi.SchemeGroupVersion.Group, Resource: uiapi.ResourceClusterProfiles, }), } } func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind { - return uiapi.SchemeGroupVersion.WithKind(uiapi.ResourceKindClusterProfile) + return rsapi.SchemeGroupVersion.WithKind(uiapi.ResourceKindClusterProfile) } func (r *Storage) NamespaceScoped() bool { @@ -73,7 +73,7 @@ func (r *Storage) GetSingularName() string { // Getter func (r *Storage) New() runtime.Object { - return &uiapi.ClusterProfile{} + return &rsapi.ClusterProfile{} } func (r *Storage) Destroy() {} @@ -88,7 +88,7 @@ func (r *Storage) Get(ctx context.Context, name string, options *metav1.GetOptio // Lister func (r *Storage) NewList() runtime.Object { - return &uiapi.ClusterProfileList{} + return &rsapi.ClusterProfileList{} } func (r *Storage) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error) {