Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
reuse JSONToTable
Browse files Browse the repository at this point in the history
Signed-off-by: zychen5186 <[email protected]>

change := to var

Signed-off-by: zychen5186 <[email protected]>
  • Loading branch information
zychen5186 committed Apr 23, 2024
1 parent b2dee42 commit e60c880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/bubbletea/bubbletea_pagination_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func Paginator(_listHeader []printer.Column, _callback DataCallback) {
listHeader = _listHeader
callback = _callback

msg := []proto.Message{}
var msg []proto.Message
for i := firstBatchIndex; i < lastBatchIndex+1; i++ {
msg = append(msg, getMessageList(i)...)
}
Expand Down

0 comments on commit e60c880

Please sign in to comment.