cloudapi: add iot-installer

This was forgotten in previous commits that fixed this image type.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
Ondřej Budai 2022-09-30 12:00:56 +02:00 committed by Tomáš Hozza
parent 5ffb9e693e
commit 5bda62fff9
3 changed files with 71 additions and 64 deletions

View file

@ -364,6 +364,8 @@ func (h *apiHandlers) PostCompose(ctx echo.Context) error {
fallthrough
case ImageTypesEdgeInstaller:
fallthrough
case ImageTypesIotInstaller:
fallthrough
case ImageTypesEdgeCommit:
fallthrough
case ImageTypesIotCommit:
@ -560,6 +562,8 @@ func imageTypeFromApiImageType(it ImageTypes, arch distro.Arch) string {
return "iot-commit"
case ImageTypesIotContainer:
return "iot-container"
case ImageTypesIotInstaller:
return "iot-installer"
case ImageTypesIotRawImage:
return "iot-raw-image"
}