Fix object repository startup

This commit is contained in:
Heikki Linnakangas
2021-08-02 16:03:04 +03:00
parent be1386a555
commit ef5f3eb514

View File

@@ -111,7 +111,7 @@ pub fn create_repo(
tenantid
)),
RepositoryFormat::RocksDb => {
let obj_store = crate::rocksdb_storage::RocksObjectStore::open(conf, &tenantid).unwrap();
let obj_store = crate::rocksdb_storage::RocksObjectStore::create(conf, &tenantid)?;
Arc::new(ObjectRepository::new(
conf,