Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Aug 13, 2024
1 parent a439aca commit 7695e5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/irzstd/memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
)

// Converts log events into Zstd compressed IR. Log events provided to writer are immediately
// converted to Zstd compressed IR and stored in [MemoryWriter.ZstdBuffer]. After the Zstd buffer
// converted to Zstd compressed IR and stored in [memoryWriter.ZstdBuffer]. After the Zstd buffer
// receives logs, they are immediately sent to s3.
type memoryWriter struct {
zstdBuffer *bytes.Buffer
Expand All @@ -30,7 +30,7 @@ type memoryWriter struct {
// - size: Byte length
//
// Returns:
// - Writer: Writer for Zstd compressed IR
// - memoryWriter: Memory writer for Zstd compressed IR
// - err: Error opening Zstd/IR writers
func NewMemoryWriter(timezone string, size int) (*memoryWriter, error) {
var zstdBuffer bytes.Buffer
Expand Down

0 comments on commit 7695e5f

Please sign in to comment.