Skip to content

Commit

Permalink
Fix CRD definition
Browse files Browse the repository at this point in the history
Co-authored-by: Chris <github.account@chrigel.net>
  • Loading branch information
glrf and ccremer committed Jan 19, 2022
1 parent 1c0b8ea commit 1c9bbba
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apis/v1/organizationmembers_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type OrganizationMembersSpec struct {

// OrganizationMembersStatus contains the actual members of the organization
type OrganizationMembersStatus struct {
UserRefs []UserRef `json:"resolvedUserRefs,omitempty"`
ResolvedUserRefs []UserRef `json:"resolvedUserRefs,omitempty"`
}

// UserRef points to a user
Expand Down
2 changes: 1 addition & 1 deletion apis/v1/user_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ type User struct {

// UserSpec contains the desired state of the user
type UserSpec struct {
Preferences UserPreferences `json:"Preferences,omitempty"`
Preferences UserPreferences `json:"preferences,omitempty"`
}

// UserPreferences contains the Preferences of the user
Expand Down
4 changes: 2 additions & 2 deletions apis/v1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
description: UserSpec contains the desired state of the user
properties:
Preferences:
preferences:
description: UserPreferences contains the Preferences of the user
properties:
defaultOrganizationRef:
Expand Down

0 comments on commit 1c9bbba

Please sign in to comment.