Unverified Commit 5dd3bd8f authored by Andronik Ordian's avatar Andronik Ordian Committed by GitHub
Browse files

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

parent 9190eb64
Pipeline #110688 passed with stages
in 26 minutes and 20 seconds
......@@ -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 {
......
Supports Markdown
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