Procházet zdrojové kódy

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

Thomas před 7 měsíci
rodič
revize
b255979192
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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}"))?;