diff --git a/apis/apps/v1/crds.go b/apis/apps/v1/crds.go index 9772d051..1cd13f20 100644 --- a/apis/apps/v1/crds.go +++ b/apis/apps/v1/crds.go @@ -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)) }