Skip to content

Commit

Permalink
update user api (#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
tiancandevloper committed Dec 5, 2023
1 parent 0ecc6d7 commit 27f3b69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/crd/bases/user.kubecube.io_users.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ spec:
status:
description: UserStatus defines the observed state of User
properties:
BelongProjectInfos:
belongProjectInfos:
description: BelongProjectInfos indicates the user belongs to those
projects.
items:
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/user/v1/user_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ type UserStatus struct {

// BelongProjectInfos indicates the user belongs to those projects.
// +optional
BelongProjectInfos []ProjectInfo `json:"BelongProjectInfos,omitempty"`
BelongProjectInfos []ProjectInfo `json:"belongProjectInfos,omitempty"`

// PlatformAdmin indicates the user is platform admin or not.
// +optional
Expand Down

0 comments on commit 27f3b69

Please sign in to comment.