Address feedback on Plugin Reload: OSS Side (#9350)

* just use an error string

* Switch command to use new struct
This commit is contained in:
Scott Miller
2020-06-30 16:26:38 -05:00
committed by GitHub
parent 0be92206d7
commit 65dd5cfd27
4 changed files with 5 additions and 7 deletions

View File

@@ -83,8 +83,8 @@ func (c *PluginReloadStatusCommand) Run(args []string) int {
out = append(out, fmt.Sprintf("%s | %s | %t | %s ",
s.Timestamp.Format("15:04:05"),
i,
s.Success,
s.Message))
s.Error == "",
s.Error))
}
c.UI.Output(tableOutput(out, nil))
return 0