Skip to content

Commit

Permalink
exec result display nicer
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Mar 10, 2023
1 parent 3ce80e8 commit ca76de0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/cmds/request_execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ func runReqExec(cmd *cobra.Command, args []string) {

amqp.Decode(d.Message.Body, &execResult)

log.Infof("%v", execResult)
log.Infof("Hostname: %v", execResult.Hostname)
log.Infof("Command: %v", execResult.Name)
log.Infof("Exit Code: %v", execResult.ExitCode)
})

consumer.Wait()
Expand Down

0 comments on commit ca76de0

Please sign in to comment.