2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-27 12:18:26 +08:00

fix frontend args reference

This commit is contained in:
occheung 2024-10-02 15:51:43 +08:00
parent f5ff908098
commit a643da2c5e
2 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ def main():
signal_handler.setup() signal_handler.setup()
try: try:
get_logs_task = asyncio.ensure_future( get_logs_task = asyncio.ensure_future(
get_logs_sim(args.core_addr) if args.simulation else get_logs(args.core_addr, args.satellite), get_logs_sim(args.core_addr) if args.simulation else get_logs(args.core_addr, args.drtio_dest),
loop=loop) loop=loop)
try: try:
server = Server({"corelog": PingTarget()}, None, True) server = Server({"corelog": PingTarget()}, None, True)

View File

@ -136,7 +136,7 @@ def main():
core_addr = ddb.get("core", resolve_alias=True)["arguments"]["host"] core_addr = ddb.get("core", resolve_alias=True)["arguments"]["host"]
else: else:
core_addr = args.device core_addr = args.device
mgmt = CommMgmt(core_addr, drtio_dest=args.satellite) mgmt = CommMgmt(core_addr, drtio_dest=args.drtio_dest)
if args.tool == "log": if args.tool == "log":
if args.action == "set_level": if args.action == "set_level":