From bf4af9c131535c41b87e66811c31073c7b30c973 Mon Sep 17 00:00:00 2001 From: Patrick Brogan Date: Sun, 30 Jul 2023 16:28:08 -0400 Subject: [PATCH] Fix missing Type & State info for get launchplans cmd --- cmd/get/launch_plan.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/get/launch_plan.go b/cmd/get/launch_plan.go index f83a1d1d..a80b7251 100644 --- a/cmd/get/launch_plan.go +++ b/cmd/get/launch_plan.go @@ -125,8 +125,8 @@ Usage var launchplanColumns = []printer.Column{ {Header: "Version", JSONPath: "$.id.version"}, {Header: "Name", JSONPath: "$.id.name"}, - {Header: "Type", JSONPath: "$.closure.compiledTask.template.type"}, - {Header: "State", JSONPath: "$.spec.state"}, + {Header: "Type", JSONPath: "$.id.resourceType"}, + {Header: "State", JSONPath: "$.closure.state"}, {Header: "Schedule", JSONPath: "$.spec.entityMetadata.schedule"}, {Header: "Inputs", JSONPath: "$.closure.expectedInputs.parameters." + printer.DefaultFormattedDescriptionsKey + ".var.description"}, {Header: "Outputs", JSONPath: "$.closure.expectedOutputs.variables." + printer.DefaultFormattedDescriptionsKey + ".description"},