Remove extra s in item table output for auth methods and host catalogs

pull/1138/head
Jeff Mitchell 5 years ago
parent ef72153d55
commit 46d7613e2d

@ -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]),
)
}

@ -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]),
)
}

Loading…
Cancel
Save