Skip to content

Commit

Permalink
Update crd helpers
Browse files Browse the repository at this point in the history
Signed-off-by: Tamal Saha <tamal@appscode.com>
  • Loading branch information
tamalsaha committed Feb 22, 2024
1 parent ea13345 commit 33623cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apis/apps/v1/crds.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import (
"kmodules.xyz/client-go/apiextensions"
)

func (d *PetSet) CustomResourceDefinition() *apiextensions.CustomResourceDefinition {
func (_ PetSet) CustomResourceDefinition() *apiextensions.CustomResourceDefinition {
return crds.MustCustomResourceDefinition(SchemeGroupVersion.WithResource(ResourcePetSets))
}

func (d *PlacementPolicy) CustomResourceDefinition() *apiextensions.CustomResourceDefinition {
func (_ PlacementPolicy) CustomResourceDefinition() *apiextensions.CustomResourceDefinition {
return crds.MustCustomResourceDefinition(SchemeGroupVersion.WithResource(ResourcePlacementPolicies))
}

0 comments on commit 33623cc

Please sign in to comment.