Skip to content

Commit

Permalink
PMM-12375 add message to channel.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Tymchuk committed Sep 13, 2023
1 parent e6c7f65 commit 7216556
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions managed/services/agents/channel/channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ func (c *Channel) runReceiver() {
c.publish(msg.Id, msg.Status, p.PbmSwitchPitr)
case *agentpb.AgentMessage_AgentLogs:
c.publish(msg.Id, msg.Status, p.AgentLogs)
case *agentpb.AgentMessage_ServiceInfo:
c.publish(msg.Id, msg.Status, p.ServiceInfo)

case nil:
c.cancel(msg.Id, errors.Errorf("unimplemented: failed to handle received message %s", msg))
Expand Down

0 comments on commit 7216556

Please sign in to comment.