unit tests and fixes

This commit is contained in:
Scott E. Graves 2024-12-20 18:24:11 -06:00
parent f333b74cd1
commit b65c9d2ab7

View File

@ -93,6 +93,10 @@ app_config::app_config(const provider_type &prov,
host_cfg.api_port = default_api_port(prov_);
set_host_config(host_cfg);
auto rm_cfg = get_remote_mount();
rm_cfg.api_port = default_remote_api_port(prov);
set_remote_mount(rm_cfg);
if (not utils::file::directory(data_directory_).create_directory()) {
throw startup_exception(
fmt::format("unable to create data directory|sp|{}", data_directory_));