Skip to content

Commit

Permalink
Merge pull request #143 from mashiike/fix-format-type-selection-bug-a…
Browse files Browse the repository at this point in the history
…lways-json

Fix format type selection bug, always json
  • Loading branch information
koluku committed Aug 17, 2023
2 parents 36dbb8f + 8806b1a commit b25cfbb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion s3s.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
type FormatType int

const (
FormatTypeJSON FormatType = iota
FormatTypeJSON FormatType = iota + 1
FormatTypeCSV
FormatTypeALBLogs
FormatTypeCFLogs
Expand Down Expand Up @@ -189,6 +189,7 @@ LOOP:
Query: query.Query,
}
}
input.FormatType = query.FormatType

eg.Go(func() error {
if err := c.s3Select(egctx, in, input, option); err != nil {
Expand Down

0 comments on commit b25cfbb

Please sign in to comment.