mirror of
https://github.com/postmannen/ctrl.git
synced 2025-03-16 19:28:13 +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",
|
"toNode": "ship1",
|
||||||
"data": ["bash","-c","sleep 3 & tree ./"],
|
"data": ["bash","-c","sleep 3 & tree ./"],
|
||||||
"method":"CLICommandRequest",
|
"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
|
// Prepare and queue for sending a new message with the output
|
||||||
// of the action executed.
|
// of the action executed.
|
||||||
newReplyMessage(proc, message, CLICommandReply, out)
|
newReplyMessage(proc, message, TextLogging, out)
|
||||||
}
|
}
|
||||||
|
|
||||||
}()
|
}()
|
||||||
|
|
Loading…
Add table
Reference in a new issue