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 <[email protected]>
  • Loading branch information
Katrina Rogan authored Sep 2, 2021
1 parent 0a23db3 commit dcc2c09
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 dcc2c09

Please sign in to comment.