Pārlūkot izejas kodu

err tmp file name should en with gz to satify ucking writer

Thomas 7 mēneši atpakaļ
vecāks
revīzija
b255979192
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/collection/flowcells.rs

+ 1 - 1
src/collection/flowcells.rs

@@ -177,7 +177,7 @@ impl FlowCells {
         //     .truncate(true)
         //     .open(archive_path)
         //     .with_context(|| format!("Failed to open archive file for writing: {archive_path}"))?;
-        let tmp_path = format!("/tmp/{}.tmp", uuid::Uuid::new_v4());
+        let tmp_path = format!("/tmp/{}.json.gz", uuid::Uuid::new_v4());
 
         let mut file = get_gz_writer(&tmp_path, true)
             .with_context(|| format!("Failed to open archive file for writing: {archive_path}"))?;