silence needless warning

This commit is contained in:
Joonas Koivunen
2023-12-15 22:35:49 +00:00
parent 3ae40556f8
commit 9684fb2ba5

View File

@@ -84,10 +84,10 @@ pub(crate) fn branch_cleanup_and_check_errors(
}
if &index_part.get_version() != IndexPart::KNOWN_VERSIONS.last().unwrap() {
result.warnings.push(format!(
"index_part.json version is not latest: {}",
index_part.get_version()
))
// result.warnings.push(format!(
// "index_part.json version is not latest: {}",
// index_part.get_version()
// ))
}
if index_part.metadata.disk_consistent_lsn()