Skip to content
Snippets Groups Projects
Commit 979b9c55 authored by ordian's avatar ordian Committed by GitHub
Browse files

av-store: create a db dir if missing (#1819)

parent c7e729e0
No related merge requests found
......@@ -106,6 +106,7 @@ impl AvailabilityStoreSubsystem {
format!("Bad database path: {:?}", config.path),
))?;
std::fs::create_dir_all(&path)?;
let db = Database::open(&db_config, &path)?;
Ok(Self {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment