From dc881e65d41435fb46f507d9345f47bf57a89c2d Mon Sep 17 00:00:00 2001 From: Todd Knight Date: Wed, 14 Apr 2021 10:25:25 -0700 Subject: [PATCH] Fix alignment for `Is Primary For Scope` field and values for listing. --- internal/cmd/commands/authmethodscmd/funcs.go | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/internal/cmd/commands/authmethodscmd/funcs.go b/internal/cmd/commands/authmethodscmd/funcs.go index 8e4dcd025d..001698aeff 100644 --- a/internal/cmd/commands/authmethodscmd/funcs.go +++ b/internal/cmd/commands/authmethodscmd/funcs.go @@ -82,33 +82,33 @@ func (c *Command) printListTable(items []*authmethods.AuthMethod) string { } if true { output = append(output, - fmt.Sprintf(" ID: %s", m.Id), + fmt.Sprintf(" ID: %s", m.Id), ) } if c.FlagRecursive { output = append(output, - fmt.Sprintf(" Scope ID: %s", m.Scope.Id), + fmt.Sprintf(" Scope ID: %s", m.Scope.Id), ) } if true { output = append(output, - fmt.Sprintf(" Version: %d", m.Version), - fmt.Sprintf(" Type: %s", m.Type), + fmt.Sprintf(" Version: %d", m.Version), + fmt.Sprintf(" Type: %s", m.Type), ) } if m.Name != "" { output = append(output, - fmt.Sprintf(" Name: %s", m.Name), + fmt.Sprintf(" Name: %s", m.Name), ) } if m.Description != "" { output = append(output, - fmt.Sprintf(" Description: %s", m.Description), + fmt.Sprintf(" Description: %s", m.Description), ) } if true { output = append(output, - fmt.Sprintf(" Is Primary For Scope: %t", m.IsPrimary), + fmt.Sprintf(" Is Primary For Scope: %t", m.IsPrimary), ) }