Skip to content

Commit

Permalink
Merge pull request #256 from ICRAR/fix_server_genpgt_nodelist
Browse files Browse the repository at this point in the history
Add manager host to list of nodes when deploy method is Server
  • Loading branch information
myxie authored May 28, 2024
2 parents 7e2b744 + 89b8d34 commit 22fb53d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daliuge-translator/dlg/dropmake/web/translator_rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def gen_pg(
host=mhost, port=mport, url_prefix=mprefix, timeout=30
)
# 1. get a list of nodes
node_list = mgr_client.nodes()
node_list = [f"{mhost}:{mport}"] + mgr_client.nodes()
logger.debug("Calling mapping to nodes: %s", node_list)
# 2. mapping PGTP to resources (node list)
pg_spec = pgtp.to_pg_spec(node_list, ret_str=False)
Expand Down

0 comments on commit 22fb53d

Please sign in to comment.