diff options
Diffstat (limited to 'format/pack/ingest/scan.go')
| -rw-r--r-- | format/pack/ingest/scan.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/format/pack/ingest/scan.go b/format/pack/ingest/scan.go index 36b7f75e..d1252d00 100644 --- a/format/pack/ingest/scan.go +++ b/format/pack/ingest/scan.go @@ -40,7 +40,7 @@ func streamPackAndScan(state *ingestState) error { } } - err = state.stream.finishAndFlushTrailer() + err = state.stream.finishAndFlushTrailer(state.opts.RequireTrailingEOF) if err != nil { return err } |
