diff --git a/internal/cmd/commands/authmethodscmd/funcs.go b/internal/cmd/commands/authmethodscmd/funcs.go index 12affb0b3..024009eed 100644 --- a/internal/cmd/commands/authmethodscmd/funcs.go +++ b/internal/cmd/commands/authmethodscmd/funcs.go @@ -93,6 +93,7 @@ func (c *Command) printListTable(items []*authmethods.AuthMethod) string { if true { output = append(output, fmt.Sprintf(" Version: %d", m.Version), + fmt.Sprintf(" Type: %s", m.Type), ) } if m.Name != "" { @@ -105,12 +106,6 @@ func (c *Command) printListTable(items []*authmethods.AuthMethod) string { fmt.Sprintf(" Description: %s", m.Description), ) } - if true { - output = append(output, - fmt.Sprintf(" Type: %s", m.Type), - fmt.Sprintf(" Version: %d", m.Version), - ) - } if len(m.AuthorizedActions) > 0 { output = append(output, " Authorized Actions:",