Skip to content

Commit

Permalink
Adds the isOffloaded field (streamnative/pulsarctl#288)
Browse files Browse the repository at this point in the history
* Adds the `isOffloaded` field

* add tests for offloaded field
  • Loading branch information
rivernate authored and tisonkun committed Aug 15, 2023
1 parent 6d4f084 commit 9da9310
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pulsaradmin/pkg/pulsar/utils/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,8 @@ type LedgerInfo struct {
LedgerID int64 `json:"ledgerId"`
Entries int64 `json:"entries"`
Size int64 `json:"size"`
Offloaded bool `json:"offloaded"`
Timestamp int64 `json:"timestamp"`
Offloaded bool `json:"isOffloaded"`
}

type CursorInfo struct {
Expand Down

0 comments on commit 9da9310

Please sign in to comment.