Skip to content

Commit

Permalink
Fix missing JSON struct tags
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Dupuis <[email protected]>
  • Loading branch information
cdupuis committed Sep 30, 2024
1 parent 62073f7 commit 9508c23
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions policy/types/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,10 +130,10 @@ type VCS struct {
}

type ProvenanceBaseImage struct {
Name string
Tag string
Digest string
Platform *v1.Platform
Name string `json:"name,omitempty"`
Tag string `json:"tag,omitempty"`
Digest string `json:"digest,omitempty"`
Platform *v1.Platform `json:"platform,omitempty"`
}

type Stream struct {
Expand Down

0 comments on commit 9508c23

Please sign in to comment.