unit tests and fixes
This commit is contained in:
parent
f333b74cd1
commit
b65c9d2ab7
@ -93,6 +93,10 @@ app_config::app_config(const provider_type &prov,
|
|||||||
host_cfg.api_port = default_api_port(prov_);
|
host_cfg.api_port = default_api_port(prov_);
|
||||||
set_host_config(host_cfg);
|
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()) {
|
if (not utils::file::directory(data_directory_).create_directory()) {
|
||||||
throw startup_exception(
|
throw startup_exception(
|
||||||
fmt::format("unable to create data directory|sp|{}", data_directory_));
|
fmt::format("unable to create data directory|sp|{}", data_directory_));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user