From da13042276bbee7809a2551af9cfe00ccf553220 Mon Sep 17 00:00:00 2001 From: Idan Novogroder <43949240+idanovo@users.noreply.github.com> Date: Thu, 7 Nov 2024 18:01:28 +0200 Subject: [PATCH] Fix OOM lakectl FS upload bug (#8349) --- pkg/local/progress.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkg/local/progress.go b/pkg/local/progress.go index 239a78027fc..5e6d6e3c7df 100644 --- a/pkg/local/progress.go +++ b/pkg/local/progress.go @@ -144,3 +144,7 @@ func (f fileWrapper) Read(p []byte) (n int, err error) { func (f fileWrapper) Seek(offset int64, whence int) (int64, error) { return f.file.Seek(offset, whence) } + +func (f fileWrapper) Close() error { + return nil +}