fix docker storage driver (#2111)

This commit is contained in:
Aiden McClelland
2023-01-12 09:56:54 -07:00
committed by GitHub
parent 8047008fa5
commit 89ca0ca927
2 changed files with 7 additions and 2 deletions

View File

@@ -207,7 +207,7 @@ pub async fn init(cfg: &RpcContextConfig) -> Result<InitResult, Error> {
let receipts = InitReceipts::new(&mut handle).await?;
let should_rebuild = tokio::fs::metadata(SYSTEM_REBUILD_PATH).await.is_ok()
|| &*receipts.server_version.get(&mut handle).await? < &emver::Version::new(0, 3, 2, 0);
|| &*receipts.server_version.get(&mut handle).await? < &emver::Version::new(0, 3, 3, 1);
let song = if should_rebuild {
Some(NonDetachingJoinHandle::from(tokio::spawn(async {