Skip to content

Commit

Permalink
Added error data and abort data in get execution output (flyteorg#79)
Browse files Browse the repository at this point in the history
Signed-off-by: Prafulla Mahindrakar <[email protected]>
  • Loading branch information
pmahindrakar-oss authored and robert-ulbrich-mercedes-benz committed Jul 2, 2024
1 parent 1e4a6ea commit 152e8db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions flytectl/cmd/get/execution.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ var executionColumns = []printer.Column{
{Header: "Phase", JSONPath: "$.closure.phase"},
{Header: "Started", JSONPath: "$.closure.startedAt"},
{Header: "Elapsed Time", JSONPath: "$.closure.duration"},
{Header: "Abort data", JSONPath: "$.closure.abortMetadata[\"cause\"]"},
{Header: "Error data", JSONPath: "$.closure.error[\"message\"]"},
}

func ExecutionToProtoMessages(l []*admin.Execution) []proto.Message {
Expand Down

0 comments on commit 152e8db

Please sign in to comment.