From 8c0cefb0e8d3f16307e7c93c2a11e9095d501fed Mon Sep 17 00:00:00 2001 From: Justin Chadwell Date: Wed, 18 Dec 2024 11:20:27 +0000 Subject: [PATCH] ci: fix distro to be a real enum (#9103) Distro wasn't a proper enum type :( I got the syntax wrong when adding it. The enum members need to be *explicitly* declared to be of the distro type to apply. Signed-off-by: Justin Chadwell --- .dagger/engine.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.dagger/engine.go b/.dagger/engine.go index ec56caa3f8..bd2dcc6c52 100644 --- a/.dagger/engine.go +++ b/.dagger/engine.go @@ -19,9 +19,9 @@ import ( type Distro string const ( - DistroAlpine = "alpine" - DistroWolfi = "wolfi" - DistroUbuntu = "ubuntu" + DistroAlpine Distro = "alpine" + DistroWolfi Distro = "wolfi" + DistroUbuntu Distro = "ubuntu" ) type DaggerEngine struct {