Skip to content

Commit

Permalink
Add JSON struct tag for Workspaces field
Browse files Browse the repository at this point in the history
  • Loading branch information
imjasonh authored and tekton-robot committed Jan 14, 2020
1 parent 49969b7 commit 6b4370e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/pipeline/v1alpha1/task_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ type TaskSpec struct {
Sidecars []corev1.Container `json:"sidecars,omitempty"`

// Workspaces are the volumes that this Task requires.
Workspaces []WorkspaceDeclaration
Workspaces []WorkspaceDeclaration `json:"workspaces,omitempty"`
}

// Step embeds the Container type, which allows it to include fields not
Expand Down

0 comments on commit 6b4370e

Please sign in to comment.