logtree: rename payload to leveledpayload
Test Plan: Refactor, covered by tests.
X-Origin-Diff: phab/D639
GitOrigin-RevId: 6c268c8b437a93c97720f110dbc9c39e95402648
diff --git a/core/pkg/logtree/journal_entry.go b/core/pkg/logtree/journal_entry.go
index 10a9ea4..58b21f5 100644
--- a/core/pkg/logtree/journal_entry.go
+++ b/core/pkg/logtree/journal_entry.go
@@ -24,8 +24,8 @@
// journal is the parent journal of this entry. An entry can belong only to a single journal. This pointer is used
// to mutate the journal's head/tail pointers when unlinking an entry.
journal *journal
- // payload is the inner log entry Payload. It contains all data and metadata received from the log producer.
- payload *Payload
+ // payload is the inner log entry LeveledPayload. It contains all data and metadata received from the log producer.
+ leveled *LeveledPayload
// prevGlobal is the previous entry in the global linked list, or nil if this entry is the oldest entry in the
// global linked list.