builder/azure/chroot: fix dropped error (#9106)

This commit is contained in:
Lars Lehtonen 2020-04-23 01:53:13 -07:00 committed by GitHub
parent da4a5224be
commit ab119d3270
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -92,6 +92,11 @@ func (s *StepVerifySharedImageDestination) Run(ctx context.Context, state multis
s.Image.GalleryName,
s.Image.ImageName)
if err != nil {
return errorMessage("Could not ListByGalleryImageComplete group:%v gallery:%v image:%v",
s.Image.ResourceGroup, s.Image.GalleryName, s.Image.ImageName)
}
for versions.NotDone() {
version := versions.Value()