From 6c8ef5c0961b7f36562fb5bb1634d59e6a29d50c Mon Sep 17 00:00:00 2001 From: Al Cutter Date: Tue, 13 Feb 2024 10:29:11 +0000 Subject: [PATCH] Omit BuildEnvs if empty too --- release/firmware/ftlog/log_entries.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/release/firmware/ftlog/log_entries.go b/release/firmware/ftlog/log_entries.go index 9c8873f..4108f40 100644 --- a/release/firmware/ftlog/log_entries.go +++ b/release/firmware/ftlog/log_entries.go @@ -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.