Skip to content

Commit d0164cb

Browse files
committed
Omit empty values for default rosetta
Signed-off-by: Anders F Björklund <[email protected]>
1 parent a9490fd commit d0164cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/limayaml/limayaml.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ const (
7272
)
7373

7474
type Rosetta struct {
75-
Enabled *bool `yaml:"enabled" json:"enabled"`
76-
BinFmt *bool `yaml:"binfmt" json:"binfmt"`
75+
Enabled *bool `yaml:"enabled,omitempty" json:"enabled,omitempty"`
76+
BinFmt *bool `yaml:"binfmt,omitempty" json:"binfmt,omitempty"`
7777
}
7878

7979
type File struct {

0 commit comments

Comments
 (0)