From 11bf1b963038cf4848e89cafdd127c8c72db1dd6 Mon Sep 17 00:00:00 2001 From: Cyril David Date: Fri, 14 May 2021 17:09:02 -0700 Subject: [PATCH] Reorder ID/name for role list --- internal/display/roles.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/display/roles.go b/internal/display/roles.go index 3dc71d4f1..83c5e4704 100644 --- a/internal/display/roles.go +++ b/internal/display/roles.go @@ -6,19 +6,19 @@ import ( ) type roleView struct { - Name string ID string + Name string Description string } func (v *roleView) AsTableHeader() []string { - return []string{"Name", "Role ID", "Description"} + return []string{"Role ID", "Name", "Description"} } func (v *roleView) AsTableRow() []string { return []string{ - v.Name, ansi.Faint(v.ID), + v.Name, v.Description, } }