feat: only write not all
Some checks failed
continuous-integration/drone/push Build is failing

Signed-off-by: kjuulh <contact@kjuulh.io>
This commit is contained in:
Kasper Juul Hermansen 2024-02-18 22:29:44 +01:00
parent 9cc3d80917
commit 02e70fe268
Signed by: kjuulh
GPG Key ID: 9AA7BC13CE474394

View File

@ -53,7 +53,7 @@ impl flux_releaser_server::FluxReleaser for FluxReleaserGrpc {
tracing::trace!("received chunk"); tracing::trace!("received chunk");
let item = item?; let item = item?;
file.write_all(&item.content).await?; let _ = file.write(&item.content).await?;
} }
file.flush().await?; file.flush().await?;