Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <[email protected]>
  • Loading branch information
tamalsaha committed Oct 16, 2024
1 parent 77c0815 commit 4b38ff3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/registry/meta/clusterprofile/storage.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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() {}
Expand All @@ -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) {
Expand Down

0 comments on commit 4b38ff3

Please sign in to comment.