Skip to content

Commit

Permalink
fix(output): ID column could not be selected
Browse files Browse the repository at this point in the history
Because we changed the type of ID fields but did not update the code
that reflects on the structs to also allow int64 fields.
  • Loading branch information
apricote committed Jul 24, 2023
1 parent d64edd3 commit fd46634
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/cmd/output/output.go
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,8 @@ func (o *Table) AddAllowedFields(obj interface{}) *Table {
k != reflect.Float32 &&
k != reflect.Float64 &&
k != reflect.String &&
k != reflect.Int {
k != reflect.Int &&
k != reflect.Int64 {
// only allow simple values
// complex values need to be mapped via a FieldFn
continue
Expand Down

0 comments on commit fd46634

Please sign in to comment.