This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch ignite-11880
in repository https://gitbox.apache.org/repos/asf/ignite-teamcity-bot.git


The following commit(s) were added to refs/heads/ignite-11880 by this push:
     new 710e5ac  Notifications: fix bug with tag filterin
710e5ac is described below

commit 710e5ac684ff2ea1c88070528ba0bbab8ce68e86
Author: Dmitriy Pavlov <[email protected]>
AuthorDate: Sun Jun 2 01:24:31 2019 +0300

    Notifications: fix bug with tag filterin
---
 .../java/org/apache/ignite/ci/tcbot/conf/NotificationChannel.java     | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git 
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/NotificationChannel.java
 
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/NotificationChannel.java
index a872b13..d3b524b 100644
--- 
a/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/NotificationChannel.java
+++ 
b/ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/conf/NotificationChannel.java
@@ -57,9 +57,7 @@ public class NotificationChannel implements 
INotificationChannel {
         if(Strings.isNullOrEmpty(tag))
             return true; // nothing to filter, consider subscribed
 
-        tagsFilter.contains(tag);
-
-        return false;
+        return tagsFilter.contains(tag);
     }
 
     /** {@inheritDoc} */

Reply via email to