summaryrefslogtreecommitdiffstats
path: root/lib/xaapiv1
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-03-09 17:29:59 +0100
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-03-13 12:40:02 +0100
commit6aa5e4ccb5adadcc0cb802c44c1e88a35a20a925 (patch)
tree3ad9718f862c8eead56d3c4d2de17a292f7097be /lib/xaapiv1
parent80708aa2578f3598fc8abd4d08e576947da22872 (diff)
Updated Terminal message struct
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'lib/xaapiv1')
-rw-r--r--lib/xaapiv1/targets.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xaapiv1/targets.go b/lib/xaapiv1/targets.go
index 9cea6ff..1410fe6 100644
--- a/lib/xaapiv1/targets.go
+++ b/lib/xaapiv1/targets.go
@@ -99,8 +99,8 @@ type (
TerminalOutMsg struct {
TermID string `json:"termID"`
Timestamp string `json:"timestamp"`
- Stdout string `json:"stdout"`
- Stderr string `json:"stderr"`
+ Stdout []byte `json:"stdout"`
+ Stderr []byte `json:"stderr"`
}
// TerminalExitMsg Message sent on terminal/console exit