Skip to content

Commit

Permalink
Merge pull request #1482 from aquaproj/fix/slsa_provenance-omitempty
Browse files Browse the repository at this point in the history
fix: set omitempty to slsa_provenance
  • Loading branch information
suzuki-shunsuke committed Dec 28, 2022
2 parents 4b7bdcb + 4dbdf2d commit 9cb8023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/registry/package_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ type PackageInfo struct {
SearchWords []string `json:"search_words,omitempty" yaml:"search_words,omitempty"`
Checksum *Checksum `json:"checksum,omitempty"`
Cosign *Cosign `json:"cosign,omitempty"`
SLSAProvenance *SLSAProvenance `json:"slsa_provenance,omitempty" yaml:"slsa_provenance"`
SLSAProvenance *SLSAProvenance `json:"slsa_provenance,omitempty" yaml:"slsa_provenance,omitempty"`
}

func (pkgInfo *PackageInfo) Copy() *PackageInfo {
Expand Down

0 comments on commit 9cb8023

Please sign in to comment.