mirror of
https://github.com/rancher/types.git
synced 2025-09-19 00:46:53 +00:00
Rename principal kind field
This field is used to indicate whether the principal is a user or group. Kind is effectively a reserved word and shouldn't be used.
This commit is contained in:
@@ -58,7 +58,7 @@ type Principal struct {
|
||||
LoginName string `json:"loginName,omitempty"`
|
||||
ProfilePicture string `json:"profilePicture,omitempty"`
|
||||
ProfileURL string `json:"profileURL,omitempty"`
|
||||
Kind string `json:"kind,omitempty"`
|
||||
PrincipalType string `json:"principalType,omitempty"`
|
||||
Me bool `json:"me,omitempty"`
|
||||
MemberOf bool `json:"memberOf,omitempty"`
|
||||
Provider string `json:"provider,omitempty"`
|
||||
|
Reference in New Issue
Block a user