diff --git a/pkg/dump/writer/file_writer.go b/pkg/dump/writer/file_writer.go index dadae1333..09bea82ee 100644 --- a/pkg/dump/writer/file_writer.go +++ b/pkg/dump/writer/file_writer.go @@ -56,10 +56,6 @@ func (f *FileWriter) WorkerNumber() int { return FileWriterWorkerNumber } -func (f *FileWriter) WriteMetadata(ctx context.Context) error { - return nil -} - // Write function writes the Kubernetes object to a buffer // All buffer are stored in a map which is flushed at the end of every type processed func (f *FileWriter) Write(ctx context.Context, k8sObj []byte, pathObj string) error { diff --git a/pkg/dump/writer/tar_writer.go b/pkg/dump/writer/tar_writer.go index ee4b5cb32..89107a128 100644 --- a/pkg/dump/writer/tar_writer.go +++ b/pkg/dump/writer/tar_writer.go @@ -78,10 +78,6 @@ func (f *TarWriter) WorkerNumber() int { return TarWorkerNumber } -func (f *TarWriter) WriteMetadata(ctx context.Context) error { - return nil -} - // Write function writes the Kubernetes object to a buffer // All buffer are stored in a map which is flushed at the end of every type processed func (t *TarWriter) Write(ctx context.Context, k8sObj []byte, filePath string) error { diff --git a/pkg/dump/writer/writer.go b/pkg/dump/writer/writer.go index 26127dd62..36535ad5c 100644 --- a/pkg/dump/writer/writer.go +++ b/pkg/dump/writer/writer.go @@ -18,7 +18,6 @@ const ( //go:generate mockery --name DumperWriter --output mockwriter --case underscore --filename writer.go --with-expecter type DumperWriter interface { Write(context.Context, []byte, string) error - WriteMetadata(context.Context) error Flush(context.Context) error Close(context.Context) error