From f94244aad460a7c0be66c205508ccd04728616c0 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 28 Sep 2023 12:04:24 -0400 Subject: [PATCH] Load `network` section from `conf.toml` for service-addr map --- piker/storage/__init__.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/piker/storage/__init__.py b/piker/storage/__init__.py index c813c48a..6c96721d 100644 --- a/piker/storage/__init__.py +++ b/piker/storage/__init__.py @@ -169,12 +169,15 @@ async def open_storage_client( tsdb_host: str = 'localhost' # load root config and any tsdb user defined settings - conf, path = config.load('conf', touch_if_dne=True) + conf, path = config.load( + conf_name='conf', + touch_if_dne=True, + ) # TODO: maybe not under a "network" section.. since - # no more chitty mkts.. + # no more chitty `marketstore`.. tsdbconf: dict = {} - service_section = conf.get('service') + service_section = conf.get('network') if ( not backend and service_section