From 5a89b15fbb455f9016f14019c4f8605da5b8225d Mon Sep 17 00:00:00 2001 From: Kentaro1043 <71170923+Kentaro1043@users.noreply.github.com> Date: Tue, 12 Nov 2024 17:37:09 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=90=E3=83=83=E3=82=AF=E3=82=A2=E3=83=83?= =?UTF-8?q?=E3=83=97=E3=81=8C0B=E3=81=AB=E3=81=AA=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=97=E3=81=BE=E3=81=86=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `gcsObjectWriter`をCloseする前に、`snappyWriter`をFlushするように --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index b3c7ca1..1af08e2 100644 --- a/main.go +++ b/main.go @@ -203,6 +203,8 @@ func main() { return } + snappyWriter.Flush() + if err := gcsObjectWriter.Close(); err != nil { errCh <- err return