Add plugin info on the CLI when reading a host. (#1725)
This commit is contained in:
1 file changed
+8
@@ -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,
|
||||
"",
|
||||
|
||||
Reference in new issue
Block a user