1
0

Use keyed fields

This commit is contained in:
dump_stack() 2018-12-09 22:50:37 +00:00
parent 880af47cc5
commit db27959c8b

4
gen.go
View File

@ -17,7 +17,9 @@ func genConfig(at config.ArtifactType) (err error) {
Type: at, Type: at,
} }
a.SupportedKernels = append(a.SupportedKernels, config.KernelMask{ a.SupportedKernels = append(a.SupportedKernels, config.KernelMask{
config.Ubuntu, "18.04", ".*", DistroType: config.Ubuntu,
DistroRelease: "18.04",
ReleaseMask: ".*",
}) })
buf, err := toml.Marshal(&a) buf, err := toml.Marshal(&a)