mirror of
https://github.com/zhaofengli/attic.git
synced 2025-03-13 12:19:15 +00:00
fix null insertion in chunkref table
This commit is contained in:
parent
70ae61b591
commit
c2d1a98e3d
1 changed files with 1 additions and 0 deletions
|
@ -489,6 +489,7 @@ async fn upload_path_new_unchunked(
|
|||
seq: Set(0),
|
||||
chunk_id: Set(Some(chunk.id)),
|
||||
chunk_hash: Set(upload_info.nar_hash.to_typed_base16()),
|
||||
compression: Set(compression.to_string()),
|
||||
..Default::default()
|
||||
})
|
||||
.exec(&txn)
|
||||
|
|
Loading…
Add table
Reference in a new issue