Skip to content

Commit

Permalink
Skip the DataFields field from the JSON release notes
Browse files Browse the repository at this point in the history
Signed-off-by: Adolfo García Veytia (Puerco) <[email protected]>
  • Loading branch information
puerco committed Apr 14, 2021
1 parent dcfcc2e commit 3656f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/notes/notes.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ type ReleaseNote struct {
DoNotPublish bool `json:"do_not_publish,omitempty"`

// DataFields a key indexed map of data fields
DataFields map[string]ReleaseNotesDataField `json:"data_fields,omitempty"`
DataFields map[string]ReleaseNotesDataField `json:"-"`
}

type Documentation struct {
Expand Down

0 comments on commit 3656f6f

Please sign in to comment.