Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
5dd3bd8f
Unverified
Commit
5dd3bd8f
authored
Oct 15, 2020
by
Andronik Ordian
Committed by
GitHub
Oct 15, 2020
Browse files
av-store: create a db dir if missing (#1819)
parent
9190eb64
Pipeline
#110688
passed with stages
in 26 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
node/core/av-store/src/lib.rs
View file @
5dd3bd8f
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment