mirror of
https://github.com/postmannen/ctrl.git
synced 2024-12-14 12:37:31 +00:00
textlogging for clicommand
This commit is contained in:
parent
f75aa73703
commit
e4303bb77f
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
[
|
||||
{
|
||||
|
||||
"label":"cli-command-executed-result",
|
||||
"toNode": "ship1",
|
||||
"data": ["bash","-c","sleep 3 & tree ./"],
|
||||
"method":"CLICommandRequest",
|
||||
|
|
|
@ -530,7 +530,7 @@ func (m methodCLICommandRequest) handler(proc process, message Message, node str
|
|||
|
||||
// Prepare and queue for sending a new message with the output
|
||||
// of the action executed.
|
||||
newReplyMessage(proc, message, CLICommandReply, out)
|
||||
newReplyMessage(proc, message, TextLogging, out)
|
||||
}
|
||||
|
||||
}()
|
||||
|
|
Loading…
Reference in a new issue