Browse Source

Update persistence.go

pull/7231/head
chrislu 2 months ago
parent
commit
cd2264ffc7
  1. 3
      weed/mq/kafka/offset/persistence.go

3
weed/mq/kafka/offset/persistence.go

@ -189,5 +189,6 @@ func (pl *PersistentLedger) GetLatestOffset() int64 {
// GetStats returns statistics about the ledger
func (pl *PersistentLedger) GetStats() (count int, earliestTime, latestTime int64) {
return pl.Ledger.GetStats()
count, _, earliestTime, latestTime = pl.Ledger.GetStats()
return count, earliestTime, latestTime
}
Loading…
Cancel
Save