Remove extra s in item table output for auth methods and host catalogs
This commit is contained in:
1 parent
ef72153d55
commit
46d7613e2d
2 files changed
+2
-2
No files matched your search
@@ -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]),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user