[GitHub] SomeFire commented on a change in pull request #60: IGNITE-10146 Refresh missing from Git prs while full reindex

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[GitHub] SomeFire commented on a change in pull request #60: IGNITE-10146 Refresh missing from Git prs while full reindex

GitBox
SomeFire commented on a change in pull request #60: IGNITE-10146 Refresh missing from Git prs while full reindex
URL: https://github.com/apache/ignite-teamcity-bot/pull/60#discussion_r231416964
 
 

 ##########
 File path: ignite-tc-helper-web/src/main/java/org/apache/ignite/ci/github/ignited/GitHubConnIgnitedImpl.java
 ##########
 @@ -134,13 +137,30 @@ protected String runActualizePrs(String srvId, boolean fullReindex) {
             cntSaved += savedThisChunk;
             totalChecked += ghData.size();
 
+            if (fullReindex)
+                actualPrs.addAll(ghData.stream()
+                    .map(pr -> pr.getNumber())
+                    .collect(Collectors.toSet()));
+
 
 Review comment:
   ```suggestion
               }
   
   ```

----------------------------------------------------------------
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:
[hidden email]


With regards,
Apache Git Services