Skip to content

Commit

Permalink
Undo explicit var naming
Browse files Browse the repository at this point in the history
  • Loading branch information
uwe-mayer committed Aug 21, 2024
1 parent 0f15e35 commit 66d7cfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/admission/organization_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func SetupOrganizationWebhookWithManager(mgr ctrl.Manager) error {

//+kubebuilder:webhook:path=/mutate-greenhouse-sap-v1alpha1-organization,mutating=true,failurePolicy=fail,sideEffects=None,groups=greenhouse.sap,resources=organizations,verbs=create;update,versions=v1alpha1,name=morganization.kb.io,admissionReviewVersions=v1

func DefaultOrganization(ctx context.Context, _ client.Client, o runtime.Object) error {
func DefaultOrganization(_ context.Context, _ client.Client, o runtime.Object) error {
org, ok := o.(*greenhousev1alpha1.Organization)
if !ok {
return nil
Expand Down

0 comments on commit 66d7cfc

Please sign in to comment.