Load `network` section from `conf.toml` for service-addr map
parent
261c331602
commit
f94244aad4
|
@ -169,12 +169,15 @@ async def open_storage_client(
|
||||||
tsdb_host: str = 'localhost'
|
tsdb_host: str = 'localhost'
|
||||||
|
|
||||||
# load root config and any tsdb user defined settings
|
# 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
|
# TODO: maybe not under a "network" section.. since
|
||||||
# no more chitty mkts..
|
# no more chitty `marketstore`..
|
||||||
tsdbconf: dict = {}
|
tsdbconf: dict = {}
|
||||||
service_section = conf.get('service')
|
service_section = conf.get('network')
|
||||||
if (
|
if (
|
||||||
not backend
|
not backend
|
||||||
and service_section
|
and service_section
|
||||||
|
|
Loading…
Reference in New Issue