Skip to content

Commit 370ad43

Browse files
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 d430afc commit 370ad43

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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
@@ -1595,7 +1595,7 @@ def execute(
15951595
):
15961596
frontend_node_address = res_json["hostManifest"][path_lab][
15971597
path_workcell
1598-
]
1598+
]["url"]
15991599
else:
16001600
click.echo(
16011601
f"Error when get frontend node address: {res_json}", err=True

0 commit comments

Comments
 (0)