Skip to content

Commit

Permalink
Fix issue where duration field in metadata should be duration_ms
Browse files Browse the repository at this point in the history
…like steampipe and not `duration`. Closes #368
  • Loading branch information
pskrbasu authored Jun 3, 2024
1 parent e6fdcfc commit 119ff56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/display/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ func displayLine(ctx context.Context, result *queryresult.Result) int {

type resultMetadata struct {
RowsFetched int `json:"rows_fetched"`
Duration string `json:"duration"`
Duration string `json:"duration_ms"`
}
type jsonOutput struct {
Rows []map[string]interface{} `json:"rows"`
Expand Down

0 comments on commit 119ff56

Please # to comment.