s3 provider fixes
Some checks failed
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head There was a failure building this commit

This commit is contained in:
2023-11-11 20:21:12 -06:00
parent 93011cee9c
commit 1e8ba13f66
7 changed files with 73 additions and 10 deletions

View File

@@ -1242,12 +1242,12 @@ auto sia_provider::set_item_meta(const std::string &api_path,
}
auto sia_provider::start(api_item_added_callback api_item_added,
i_file_manager *fm) -> bool {
i_file_manager *mgr) -> bool {
event_system::instance().raise<service_started>("sia_provider");
utils::db::create_rocksdb(config_, DB_NAME, db_);
api_item_added_ = api_item_added;
fm_ = fm;
fm_ = mgr;
api_meta_map meta{};
if (get_item_meta("/", meta) == api_error::item_not_found) {