Skip to content

Commit

Permalink
fix(tekton): fix null pointer pipeline issue (IBM-Cloud#5950)
Browse files Browse the repository at this point in the history
  • Loading branch information
briangleeson authored Jan 30, 2025
1 parent 4c34f81 commit 710bb51
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,9 @@ func DataSourceIBMCdTektonPipelineWorkerToMap(model *cdtektonpipelinev2.Worker)
if model.Type != nil {
modelMap["type"] = *model.Type
}
modelMap["id"] = *model.ID
if model.ID != nil {
modelMap["id"] = *model.ID
}
return modelMap, nil
}

Expand Down

0 comments on commit 710bb51

Please sign in to comment.