Skip to content

Commit

Permalink
BuildSource: mark secrets field as omitempty.
Browse files Browse the repository at this point in the history
  • Loading branch information
php-coder committed Jul 26, 2016
1 parent 970b73a commit 6fbfc24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/api/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ type BuildSource struct {

// secrets represents a list of secrets and their destinations that will
// be used only for the build.
Secrets []SecretBuildSource `json:"secrets" protobuf:"bytes,8,rep,name=secrets"`
Secrets []SecretBuildSource `json:"secrets,omitempty" protobuf:"bytes,8,rep,name=secrets"`
}

// ImageSource describes an image that is used as source for the build
Expand Down

0 comments on commit 6fbfc24

Please sign in to comment.