Update nats dependencies (#411)
This commit is contained in:
committed by
Soam Vasani
parent
685a12d3a3
commit
9c51e8481f
@@ -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