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:
parent
5ffb9e693e
commit
5bda62fff9
3 changed files with 71 additions and 64 deletions
|
|
@ -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"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue