From db27959c8b7d7e8c95d46e153dfe4d2b3d5db757 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 9 Dec 2018 22:50:37 +0000 Subject: [PATCH] Use keyed fields --- gen.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gen.go b/gen.go index 2fa768f..6d687ae 100644 --- a/gen.go +++ b/gen.go @@ -17,7 +17,9 @@ func genConfig(at config.ArtifactType) (err error) { Type: at, } a.SupportedKernels = append(a.SupportedKernels, config.KernelMask{ - config.Ubuntu, "18.04", ".*", + DistroType: config.Ubuntu, + DistroRelease: "18.04", + ReleaseMask: ".*", }) buf, err := toml.Marshal(&a)