Add plugin info on the CLI when reading a host. (#1725)

This commit is contained in:
Todd authored and GitHub committed 2021-11-17 10:16:12 -07:00
1 parent 54a508ef7f
commit 63bf60654e
1 file changed
+8
+8
View File
@@ -160,6 +160,14 @@ func printItemTable(result api.GenericResult) string {
)
}
if item.Plugin != nil {
ret = append(ret,
"",
" Plugin:",
base.PluginInfoForOutput(item.Plugin, maxLength),
)
}
if len(item.AuthorizedActions) > 0 {
ret = append(ret,
"",