Fix event filters

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2017-12-05 09:55:33 -05:00
parent 18a53d0374
commit a27abc619c
1 changed files with 4 additions and 1 deletions

View File

@ -681,7 +681,10 @@ func (c *client) processEventStream(ctx context.Context) {
}()
eventStream, err = c.remote.EventService().Subscribe(ctx, &eventsapi.SubscribeRequest{
Filters: []string{"namespace==" + c.namespace + ",topic~=/tasks/.+"},
Filters: []string{
"namespace==" + c.namespace,
"topic~=/tasks/",
},
}, grpc.FailFast(false))
if err != nil {
return