From 1e4d1a24350c5fa7f7e8f852815666f055635379 Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Thu, 1 Mar 2018 16:40:07 -0700 Subject: [PATCH] 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. --- apis/management.cattle.io/v3/authn_types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apis/management.cattle.io/v3/authn_types.go b/apis/management.cattle.io/v3/authn_types.go index 06ecc66b..a7b19c9c 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -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"`