From 119ff56bfa4d00081665dc206f2c1487dd8457f1 Mon Sep 17 00:00:00 2001 From: Puskar Basu <45908484+pskrbasu@users.noreply.github.com> Date: Mon, 3 Jun 2024 19:18:40 +0530 Subject: [PATCH] Fix issue where `duration` field in metadata should be `duration_ms` like steampipe and not `duration`. Closes #368 --- internal/display/display.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/display/display.go b/internal/display/display.go index 57518fb9..98ae375b 100644 --- a/internal/display/display.go +++ b/internal/display/display.go @@ -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"`