updates for freebsd

This commit is contained in:
redanthrax 2022-07-05 09:59:13 -07:00
parent be0ea6b544
commit c27763aed3
10 changed files with 298 additions and 66 deletions

View file

@ -72,6 +72,7 @@ func (a *Agent) NatsMessage(nc *nats.Conn, mode string) {
a.Logger.Debugln(mode, payload)
ret.Encode(payload)
a.Logger.Infoln(a.AgentID, mode, payload)
nc.PublishRequest(a.AgentID, mode, resp)
}