Skip to content

Commit

Permalink
add omitempty of volume claim
Browse files Browse the repository at this point in the history
  • Loading branch information
caixisheng committed Dec 6, 2021
1 parent 594cb90 commit fdf313a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apis/core/v1alpha2/core_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ type ApplicationConfigurationSpec struct {
// component will be used to instantiate a workload.
Components []ApplicationConfigurationComponent `json:"components"`

VolumeClaims []VolumeClaimConfig `json:"volumeClaims"`
VolumeClaims []VolumeClaimConfig `json:"volumeClaims,omitempty"`
}

// A TraitStatus represents the state of a trait.
Expand Down

0 comments on commit fdf313a

Please sign in to comment.