diff --git a/internal/cmd/commands/authmethodscmd/funcs.go b/internal/cmd/commands/authmethodscmd/funcs.go index 001698aeff..d1e18073da 100644 --- a/internal/cmd/commands/authmethodscmd/funcs.go +++ b/internal/cmd/commands/authmethodscmd/funcs.go @@ -171,7 +171,7 @@ func printItemTable(in *authmethods.AuthMethod) string { ) for _, key := range keys { ret = append(ret, - fmt.Sprintf(" %ss:", key), + fmt.Sprintf(" %s:", key), base.WrapSlice(6, in.AuthorizedCollectionActions[key]), ) } diff --git a/internal/cmd/commands/hostcatalogscmd/funcs.go b/internal/cmd/commands/hostcatalogscmd/funcs.go index 15c2644fcf..88524d057c 100644 --- a/internal/cmd/commands/hostcatalogscmd/funcs.go +++ b/internal/cmd/commands/hostcatalogscmd/funcs.go @@ -151,7 +151,7 @@ func printItemTable(in *hostcatalogs.HostCatalog) string { ) for _, key := range keys { ret = append(ret, - fmt.Sprintf(" %ss:", key), + fmt.Sprintf(" %s:", key), base.WrapSlice(6, in.AuthorizedCollectionActions[key]), ) }