From 168d42bbcf848917879e664320ea6b33c19a1c83 Mon Sep 17 00:00:00 2001 From: Darren Shepherd Date: Tue, 16 Jan 2018 18:04:58 -0700 Subject: [PATCH] Rename userName to username --- 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 a6124a89..085cfda2 100644 --- a/apis/management.cattle.io/v3/authn_types.go +++ b/apis/management.cattle.io/v3/authn_types.go @@ -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]]"`