You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2022/10/14 16:56:21 UTC

[incubator-heron] 01/01: Extract the first job_page_link value

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

nicknezis pushed a commit to branch nicknezis/tracker-job-link-fix
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit 8bd72d7abab51d80ebcf46589621644d7bd610a5
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Fri Oct 14 12:56:12 2022 -0400

    Extract the first job_page_link value
---
 heron/tools/tracker/src/python/topology.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/heron/tools/tracker/src/python/topology.py b/heron/tools/tracker/src/python/topology.py
index b49ea551be5..bfecf09fd29 100644
--- a/heron/tools/tracker/src/python/topology.py
+++ b/heron/tools/tracker/src/python/topology.py
@@ -567,7 +567,7 @@ class Topology:
     return TopologyInfoSchedulerLocation(
         name=scheduler_location.topology_name,
         http_endpoint=scheduler_location.http_endpoint,
-        job_page_link=scheduler_location.job_page_link \
+        job_page_link=scheduler_location.job_page_link[0] \
             if scheduler_location.job_page_link else "",
     )