Skip to content

Commit

Permalink
Fix panic in rendering LP input descriptions (flyteorg#174)
Browse files Browse the repository at this point in the history
Signed-off-by: Katrina Rogan <katroganGH@gmail.com>
  • Loading branch information
Katrina Rogan authored and austin362667 committed May 7, 2024
1 parent 9502a24 commit 59f2090
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flytectl/cmd/get/launch_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func LaunchplanToTableProtoMessages(l []*admin.LaunchPlan) []proto.Message {
for _, m := range l {
m := proto.Clone(m).(*admin.LaunchPlan)
if m.Closure != nil {
if m.Closure.ExpectedInputs != nil {
if m.Closure.ExpectedInputs != nil && m.Closure.ExpectedInputs.Parameters != nil {
printer.FormatParameterDescriptions(m.Closure.ExpectedInputs.Parameters)
}
if m.Closure.ExpectedOutputs != nil && m.Closure.ExpectedOutputs.Variables != nil {
Expand Down

0 comments on commit 59f2090

Please sign in to comment.