Skip to content

Commit

Permalink
Omit BuildEnvs if empty too
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCutter committed Feb 13, 2024
1 parent b116ebf commit 6c8ef5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/firmware/ftlog/log_entries.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ type FirmwareRelease struct {

// BuildEnvs contains all environment variables set for this build. Each value in the string
// array will be a single key/value assignment, such as "DEBUG=1".
BuildEnvs []string `json:"build_envs"`
BuildEnvs []string `json:"build_envs,omitempty"`

// HAB holds a signature and related data for firmware which must be authenticated
// by the device's mask ROM at boot.
Expand Down

0 comments on commit 6c8ef5c

Please sign in to comment.