Skip to content

Commit 1724ca9

Browse files
committed
Change from instrument_server to name
1 parent 9e7539a commit 1724ca9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/murfey/server/api/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1759,9 +1759,9 @@ def failed_client_post(instrument_name: str, post_info: PostInfo):
17591759
async def find_upstream_visits(session_id: MurfeySessionID, db=murfey_db):
17601760
murfey_session = db.exec(select(Session).where(Session.id == session_id)).one()
17611761
visit_name = murfey_session.visit
1762-
instrument_server = murfey_session.instrument_server
1763-
machine_config = get_machine_config(instrument_server=instrument_server)[
1764-
instrument_server
1762+
instrument_name = murfey_session.instrument_name
1763+
machine_config = get_machine_config(instrument_name=instrument_name)[
1764+
instrument_name
17651765
]
17661766
upstream_visits = {}
17671767
# Iterates through provided upstream directories

0 commit comments

Comments
 (0)