Skip to content

Commit a8cf40e

Browse files
GregoryEssertelEribertoLopez
authored andcommitted
minor: change to the config in the frontend server (#208)
Summary: We changed the structure of the config in the frontend server. Need to update the way we extract the actual endpoint.
1 parent dc3bc4a commit a8cf40e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

test/commands/exec_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def queue_test_success_res(sessionId="testSessionId"):
1414

1515

1616
def app_config_res():
17-
return {"hostManifest": {"lab": {"workcell": "something.bar.foo"}}}
17+
return {"hostManifest": {"lab": {"workcell": {"url": "something.bar.foo"}}}}
1818

1919

2020
def mock_api_endpoint():

transcriptic/commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1593,7 +1593,7 @@ def execute(
15931593
):
15941594
frontend_node_address = res_json["hostManifest"][path_lab][
15951595
path_workcell
1596-
]
1596+
]["url"]
15971597
else:
15981598
click.echo(
15991599
f"Error when get frontend node address: {res_json}", err=True

0 commit comments

Comments
 (0)