Skip to content

Commit

Permalink
Add Organization to scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
glrf committed Feb 2, 2022
1 parent a84c888 commit 92ec370
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apis/organization/v1/organization_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,3 +131,7 @@ func (o *Organization) ToNamespace() *corev1.Namespace {
ns.Annotations[DisplayNameKey] = o.Spec.DisplayName
return ns
}

func init() {
SchemeBuilder.Register(&Organization{}, &OrganizationList{})
}

0 comments on commit 92ec370

Please sign in to comment.