cloudapi/v2: expose wsl image type

This commit is contained in:
Sanne Raymaekers 2023-08-25 18:55:21 +02:00
parent f39792d927
commit e5c4640923
4 changed files with 77 additions and 70 deletions

View file

@ -331,6 +331,8 @@ func imageTypeFromApiImageType(it ImageTypes, arch distro.Arch) string {
return "iot-raw-image"
case ImageTypesLiveInstaller:
return "live-installer"
case ImageTypesWsl:
return "wsl"
}
return ""
}