From 55de9abc410b6e99e1a648b16bc1e1a8362132e6 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Mon, 9 Jan 2023 18:22:10 -0500 Subject: [PATCH] Adjust cli mod imports of daemon sockaddr vars --- piker/cli/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/piker/cli/__init__.py b/piker/cli/__init__.py index c1b8aab0..67647a83 100644 --- a/piker/cli/__init__.py +++ b/piker/cli/__init__.py @@ -29,8 +29,8 @@ from ..log import get_console_log, get_logger, colorize_json from ..brokers import get_brokermod from .._daemon import ( _tractor_kwargs, - _registry_host, - _registry_port, + _default_registry_host, + _default_registry_port, ) from .. import config @@ -76,8 +76,8 @@ def pikerd( reg_addr: None | tuple[str, int] = None if host or port: reg_addr = ( - host or _registry_host, - int(port) or _registry_port, + host or _default_registry_host, + int(port) or _default_registry_port, ) async def main(): @@ -154,8 +154,8 @@ def cli( reg_addr: None | tuple[str, int] = None if host or port: reg_addr = ( - host or _registry_host, - int(port) or _registry_port, + host or _default_registry_host, + int(port) or _default_registry_port, ) ctx.obj.update({