diff --git a/internal/render/iam_user_group.go b/internal/render/iam_user_group.go index 1e4cb58..d80b3ed 100644 --- a/internal/render/iam_user_group.go +++ b/internal/render/iam_user_group.go @@ -12,8 +12,8 @@ type IAMUG struct { func (iamug IAMUG) Header() Header { return Header{ - HeaderColumn{Name: "Group-Id", SortIndicatorIdx: 5, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false}, - HeaderColumn{Name: "Group-Name", SortIndicatorIdx: 5, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false}, + HeaderColumn{Name: "Group-Id", SortIndicatorIdx: 6, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false}, + HeaderColumn{Name: "Group-Name", SortIndicatorIdx: 6, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false}, HeaderColumn{Name: "ARN", SortIndicatorIdx: -1, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: false}, HeaderColumn{Name: "Created-Date", SortIndicatorIdx: 8, Align: tview.AlignLeft, Hide: false, Wide: false, MX: false, Time: true}, } @@ -24,7 +24,7 @@ func (iamug IAMUG) Render(o interface{}, ns string, row *Row) error { if !ok { return fmt.Errorf("Expected iamugResp, but got %T", o) } - + row.ID = ns row.Fields = Fields{ iamugResp.GroupId,