From c28a8ecfebf2bb286f39fe710acab6b15fec5c4c Mon Sep 17 00:00:00 2001 From: Elim Tsiagbey Date: Wed, 10 Jan 2024 16:48:13 -0500 Subject: [PATCH] fix(bsr): remove unnecessary `WriteAndClose` function in BSR Journal --- internal/bsr/internal/journal/journal.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/internal/bsr/internal/journal/journal.go b/internal/bsr/internal/journal/journal.go index e461a34f9a..2355fc59ea 100644 --- a/internal/bsr/internal/journal/journal.go +++ b/internal/bsr/internal/journal/journal.go @@ -62,11 +62,6 @@ func (j *Journal) Record(op, f string) error { return err } -// WriteAndClose writes and closes the journal -func (j *Journal) WriteAndClose(b []byte) (int, error) { - panic("not implemented") -} - // File is a writable file that will update a Journal as it closed. type File struct { j *Journal