1
0
mirror of https://github.com/rancher/types.git synced 2025-07-05 09:46:13 +00:00

Rename userName to username

This commit is contained in:
Darren Shepherd 2018-01-16 18:04:58 -07:00
parent 11e8202616
commit 168d42bbcf

View File

@ -24,7 +24,7 @@ type User struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
DisplayName string `json:"displayName,omitempty"`
UserName string `json:"userName,omitempty"`
Username string `json:"username,omitempty"`
Password string `json:"password,omitempty" norman:"writeOnly,noupdate"`
MustChangePassword bool `json:"mustChangePassword,omitempty"`
PrincipalIDs []string `json:"principalIds,omitempty" norman:"type=array[reference[Principal]]"`