Update nats dependencies (#411)

This commit is contained in:
Ta-Ching Chen
2017-11-28 16:12:31 -08:00
committed by Soam Vasani
parent 36008f28d8
commit 140b132c8e
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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) {