Update crates/meilitool/src/upgrade/mod.rs

Co-authored-by: Louis Dureuil <louis@meilisearch.com>
This commit is contained in:
Tamo 2024-11-05 15:13:40 +01:00 committed by GitHub
parent f193c3a67c
commit 66b7e0824e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ impl OfflineUpgrade {
("1", "9", _) => 0, ("1", "9", _) => 0,
("1", "10", _) => 1, ("1", "10", _) => 1,
_ => { _ => {
bail!("Unsupported current version {current_major}.{current_minor}.{current_patch}. Can only upgrade from v1.9") bail!("Unsupported current version {current_major}.{current_minor}.{current_patch}. Can only upgrade from v1.9 and v1.10")
} }
}; };