1
0
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:
Craig Jellick
2018-03-01 16:40:07 -07:00
parent b0f08514ba
commit 1e4d1a2435

View File

@@ -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"`