mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-14 12:49:54 +05:00
Added full tests for nats ers
This commit is contained in:
committed by
Dan Christian Bogos
parent
81f2d722f6
commit
e7bbbbdb2d
@@ -105,6 +105,7 @@ func (pstr *NatsPoster) parseOpt(opts map[string]interface{}, nodeID string, con
|
||||
return
|
||||
}
|
||||
}
|
||||
pstr.subject = utils.DefaultQueueID
|
||||
if vals, has := opts[utils.NatsSubject]; has {
|
||||
pstr.subject = utils.IfaceAsString(vals)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user