mirror of
https://github.com/openziti/ziti.git
synced 2026-10-13 15:51:21 +00:00
Allow routers more control over link management (#318)
* Allow routers more control over link management
This commit is contained in:
@@ -20,6 +20,7 @@ func SendResult(request *channel.Message, ch channel.Channel, message string, su
|
||||
|
||||
response := channel.NewResult(success, message)
|
||||
response.ReplyTo(request)
|
||||
_ = ch.Send(response)
|
||||
log.Debug("success")
|
||||
if err := ch.Send(response); err != nil {
|
||||
log.WithError(err).Error("failed to send result")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user