diff --git a/cmd/osbuild-worker/jobimpl-osbuild.go b/cmd/osbuild-worker/jobimpl-osbuild.go index c5e6db7ce..d5d24a7f2 100644 --- a/cmd/osbuild-worker/jobimpl-osbuild.go +++ b/cmd/osbuild-worker/jobimpl-osbuild.go @@ -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)