Update nats dependencies (#411)
This commit is contained in:
committed by
Soam Vasani
parent
36008f28d8
commit
140b132c8e
@@ -88,7 +88,7 @@ func (nats Nats) unsubscribe(subscription messageQueueSubscription) error {
|
||||
|
||||
func isTopicValidForNats(topic string) bool {
|
||||
// nats-streaming does not support wildcard channel.
|
||||
return nsUtil.IsSubjectValid(topic, false)
|
||||
return nsUtil.IsChannelNameValid(topic, false)
|
||||
}
|
||||
|
||||
func msgHandler(nats *Nats, trigger *crd.MessageQueueTrigger) func(*ns.Msg) {
|
||||
|
||||
Reference in New Issue
Block a user