mirror of
https://github.com/postmannen/ctrl.git
synced 2025-01-05 20:09:16 +00:00
fixed double printing of successful send for NACK messages
This commit is contained in:
parent
6a97d86ca0
commit
75126ce977
1 changed files with 0 additions and 3 deletions
|
@ -305,9 +305,6 @@ func (p process) messageDeliverNats(natsMsgPayload []byte, natsMsgHeader nats.He
|
||||||
}
|
}
|
||||||
p.metrics.promNatsDeliveredTotal.Inc()
|
p.metrics.promNatsDeliveredTotal.Inc()
|
||||||
|
|
||||||
er := fmt.Errorf("info: sent nats message with subject %v, id: %v", msg.Subject, message.ID)
|
|
||||||
p.errorKernel.logConsoleOnlyIfDebug(er, p.configuration)
|
|
||||||
|
|
||||||
//err = natsConn.Flush()
|
//err = natsConn.Flush()
|
||||||
//if err != nil {
|
//if err != nil {
|
||||||
// er := fmt.Errorf("error: nats publish flush failed: %v", err)
|
// er := fmt.Errorf("error: nats publish flush failed: %v", err)
|
||||||
|
|
Loading…
Reference in a new issue