Skip to content

Commit 3c12ae7

Browse files
authored
feat: add node_alias in deeploy apps (#356)
1 parent b14a284 commit 3c12ae7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

extensions/business/deeploy/deeploy_mixin.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2454,6 +2454,11 @@ def _get_online_apps(self, owner=None, target_nodes=None, job_id=None, project_i
24542454
continue
24552455
filtered_result[node][app_name] = app_data
24562456
result = filtered_result
2457+
2458+
for node, apps in result.items():
2459+
node_alias = self.netmon.network_node_eeid(node)
2460+
for _, app_data in apps.items():
2461+
app_data["node_alias"] = node_alias
24572462
return result
24582463

24592464
# TODO: REMOVE THIS, once instance_id is coming from ui for instances that have to be updated

ver.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__VER__ = '2.10.40'
1+
__VER__ = '2.10.41'

0 commit comments

Comments
 (0)