Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Commit

Permalink
Updating fields in utils data (#254)
Browse files Browse the repository at this point in the history
* offloaded instead of timestamp in LedgerInfo

Signed-off-by: milos-matijasevic <[email protected]>

* updating example in internal info

Signed-off-by: milos-matijasevic <[email protected]>

Co-authored-by: Yong Zhang <[email protected]>
  • Loading branch information
2 people authored and maxsxu committed Mar 14, 2023
1 parent 29acba8 commit 950d9eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pulsar/utils/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ type LedgerInfo struct {
LedgerID int64 `json:"ledgerId"`
Entries int64 `json:"entries"`
Size int64 `json:"size"`
Timestamp int64 `json:"timestamp"`
Offloaded bool `json:"offloaded"`
}

type CursorInfo struct {
Expand Down

0 comments on commit 950d9eb

Please sign in to comment.