Skip to content

Commit

Permalink
Mark PipelienResourceBinding as inlined πŸ‘
Browse files Browse the repository at this point in the history
Without this, using `Unstructured` to unmarshall the structs will
result in empty/nil resources.

Signed-off-by: Vincent Demeester <[email protected]>
  • Loading branch information
vdemeester authored and tekton-robot committed Apr 14, 2020
1 parent 1a37fdb commit 451e4d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/pipeline/v1beta1/taskrun_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ type TaskRunInputs struct {
// TaskResourceBinding points to the PipelineResource that
// will be used for the Task input or output called Name.
type TaskResourceBinding struct {
PipelineResourceBinding
PipelineResourceBinding `json:",inline"`
// Paths will probably be removed in #1284, and then PipelineResourceBinding can be used instead.
// The optional Path field corresponds to a path on disk at which the Resource can be found
// (used when providing the resource via mounted volume, overriding the default logic to fetch the Resource).
Expand Down

0 comments on commit 451e4d3

Please sign in to comment.