Merge pull request #18 from mdiluz/fix-missing-message-in-reply
Fix missing broadcast message in status reply
This commit is contained in:
commit
bffe539d77
1 changed files with 2 additions and 0 deletions
|
@ -82,12 +82,14 @@ func (s *Server) Status(ctx context.Context, req *rove.StatusRequest) (response
|
||||||
incoming = append(incoming, &rove.Command{
|
incoming = append(incoming, &rove.Command{
|
||||||
Command: i.Command,
|
Command: i.Command,
|
||||||
Bearing: i.Bearing,
|
Bearing: i.Bearing,
|
||||||
|
Message: i.Message,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
for _, q := range q {
|
for _, q := range q {
|
||||||
queued = append(queued, &rove.Command{
|
queued = append(queued, &rove.Command{
|
||||||
Command: q.Command,
|
Command: q.Command,
|
||||||
Bearing: q.Bearing,
|
Bearing: q.Bearing,
|
||||||
|
Message: q.Message,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
var logs []*rove.Log
|
var logs []*rove.Log
|
||||||
|
|
Loading…
Add table
Reference in a new issue