You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by bh...@apache.org on 2019/09/26 12:36:15 UTC

[incubator-dlab] branch DLAB-terraform updated: DLAB-000 replaced private it with public

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

bhliva pushed a commit to branch DLAB-terraform
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-terraform by this push:
     new 19f519d  DLAB-000 replaced private it with public
19f519d is described below

commit 19f519dc64c2a13911551c37ebbf68d52e3cdc09
Author: bhliva <bo...@epam.com>
AuthorDate: Thu Sep 26 15:36:02 2019 +0300

    DLAB-000 replaced private it with public
---
 .../com/epam/dlab/backendapi/service/impl/EnvironmentServiceImpl.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EnvironmentServiceImpl.java b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EnvironmentServiceImpl.java
index 43811d1..dc18fb2 100644
--- a/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EnvironmentServiceImpl.java
+++ b/services/self-service/src/main/java/com/epam/dlab/backendapi/service/impl/EnvironmentServiceImpl.java
@@ -231,7 +231,7 @@ public class EnvironmentServiceImpl implements EnvironmentService {
 					.map(e -> new UserResourceInfo().withResourceType(ResourceEnum.EDGE_NODE)
 							.withResourceStatus(e.getStatus().toString())
 							.withProject(projectDTO.getName())
-							.withIp(e.getEdgeInfo() != null ? e.getEdgeInfo().getIp() : null));
+							.withIp(e.getEdgeInfo() != null ? e.getEdgeInfo().getPublicIp() : null));
 			return Stream.concat(edges, userResources)
 					.collect(toList());
 		} else {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org