cmd/osbuild-worker: specify hyper v gen for azure images

This commit is contained in:
Sanne Raymaekers 2024-11-12 13:56:42 +01:00
parent fb3e1b0701
commit f672610509

View file

@ -981,6 +981,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error {
blobName,
jobTarget.ImageName,
location,
targetOptions.HyperVGeneration,
)
if err != nil {
targetResult.TargetError = clienterrors.New(clienterrors.ErrorImportingImage, fmt.Sprintf("registering the image failed: %v", err), nil)