SomeFire commented on a change in pull request #39: IGNITE-9901 Persistent 
queue for visas added
URL: https://github.com/apache/ignite-teamcity-bot/pull/39#discussion_r227304277
 
 

 ##########
 File path: 
ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/tcbot/visa/TcBotTriggerAndSignOffService.java
 ##########
 @@ -154,7 +162,9 @@ private String observeJira(
 
         buildObserverProvider.get().observe(srvId, prov, ticketFullName, 
builds);
 
-        return "JIRA ticket IGNITE-" + ticketFullName + " will be notified 
after the tests are completed.";
+        return tcHelper.isServerAuthorized() ? "JIRA ticket IGNITE-" + 
ticketFullName +
 
 Review comment:
   Use `if` statement instead of long ternary operator. It is more readable.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to