cloudapi: add live-installer

This was missing to enable `live-installer` in the CloudAPI.
This commit is contained in:
Simon de Vlieger 2023-07-19 21:43:08 +02:00 committed by Ondřej Budai
parent d0a5da6866
commit 326f0cfa2f

View file

@ -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 ""
}