Fix deprecated `LocalPortal` call

misc_backend_fixes
Tyler Goodlet 2021-12-10 11:51:56 -05:00
parent 2877d7e4ce
commit 7e9cbd7d9e
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def services(config, tl, names):
async with tractor.get_arbiter(
*_tractor_kwargs['arbiter_addr']
) as portal:
registry = await portal.run('self', 'get_registry')
registry = await portal.run_from_ns('self', 'get_registry')
json_d = {}
for uid, socket in registry.items():
name, uuid = uid