Fix migration checksum type inference
This commit is contained in:
@@ -74,9 +74,9 @@ async fn reconcile_historical_migration_checksums(
|
|||||||
.await?;
|
.await?;
|
||||||
|
|
||||||
if let Some(stored_checksum) = stored_checksum {
|
if let Some(stored_checksum) = stored_checksum {
|
||||||
let bundled_checksum = init_migration.checksum.as_ref();
|
let bundled_checksum: &[u8] = init_migration.checksum.as_ref();
|
||||||
|
|
||||||
if stored_checksum != bundled_checksum {
|
if stored_checksum.as_slice() != bundled_checksum {
|
||||||
tracing::warn!(
|
tracing::warn!(
|
||||||
"Reconciling checksum for historical Modrinth init migration {}",
|
"Reconciling checksum for historical Modrinth init migration {}",
|
||||||
HISTORICAL_INIT_MIGRATION_VERSION
|
HISTORICAL_INIT_MIGRATION_VERSION
|
||||||
|
|||||||
Reference in New Issue
Block a user