From 326f0cfa2f88e51c5eadcd0084d44ce706a1a03b Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Wed, 19 Jul 2023 21:43:08 +0200 Subject: [PATCH] cloudapi: add `live-installer` This was missing to enable `live-installer` in the CloudAPI. --- internal/cloudapi/v2/handler.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/internal/cloudapi/v2/handler.go b/internal/cloudapi/v2/handler.go index 82c336ab7..a6e7632b0 100644 --- a/internal/cloudapi/v2/handler.go +++ b/internal/cloudapi/v2/handler.go @@ -565,6 +565,8 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error { fallthrough case ImageTypesIotInstaller: fallthrough + case ImageTypesLiveInstaller: + fallthrough case ImageTypesEdgeCommit: fallthrough case ImageTypesIotCommit: @@ -783,6 +785,8 @@ func imageTypeFromApiImageType(it ImageTypes, arch distro.Arch) string { return "iot-installer" case ImageTypesIotRawImage: return "iot-raw-image" + case ImageTypesLiveInstaller: + return "live-installer" } return "" }