You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by dy...@apache.org on 2022/08/17 11:58:31 UTC
[incubator-datalab] branch DATALAB-2838 created (now 1bab4739c)
This is an automated email from the ASF dual-hosted git repository.
dyankiv pushed a change to branch DATALAB-2838
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
at 1bab4739c filter instances with id null
This branch includes the following new commits:
new 1bab4739c filter instances with id null
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org
[incubator-datalab] 01/01: filter instances with id null
Posted by dy...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
dyankiv pushed a commit to branch DATALAB-2838
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 1bab4739cb627d0f6acb23591ce63c653217a0e7
Author: Denys Yankiv <de...@gmail.com>
AuthorDate: Wed Aug 17 14:56:10 2022 +0300
filter instances with id null
---
.../backendapi/schedulers/CheckInfrastructureStatusScheduler.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/services/self-service/src/main/java/com/epam/datalab/backendapi/schedulers/CheckInfrastructureStatusScheduler.java b/services/self-service/src/main/java/com/epam/datalab/backendapi/schedulers/CheckInfrastructureStatusScheduler.java
index e6a0b0e1d..40ae7f4af 100644
--- a/services/self-service/src/main/java/com/epam/datalab/backendapi/schedulers/CheckInfrastructureStatusScheduler.java
+++ b/services/self-service/src/main/java/com/epam/datalab/backendapi/schedulers/CheckInfrastructureStatusScheduler.java
@@ -81,7 +81,8 @@ public class CheckInfrastructureStatusScheduler implements Job {
.map(EndpointDTO::getName)
.collect(Collectors.toList());
- List<UserInstanceDTO> userInstanceDTOS = exploratoryDAO.fetchExploratoriesByEndpointWhereStatusIn(activeEndpoints, statusesToCheck, Boolean.TRUE);
+ List<UserInstanceDTO> userInstanceDTOS = exploratoryDAO.fetchExploratoriesByEndpointWhereStatusIn(activeEndpoints, statusesToCheck, Boolean.TRUE)
+ .stream().filter(e -> e.getInstanceId() != null).collect(Collectors.toList());
Map<String, List<EnvResource>> exploratoryAndSparkInstances = userInstanceDTOS
.stream()
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org