Include image name in error message

Signed-off-by: Matthew Walowski <mattwalowski@gmail.com>
This commit is contained in:
Matthew Walowski 2023-09-14 20:58:54 -05:00 committed by Nicolas De loof
parent 12e0ac898a
commit 6ecab95775
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ func (s *composeService) getImages(ctx context.Context, images []string) (map[st
if errdefs.IsNotFound(err) {
return nil
}
return err
return fmt.Errorf("unable to get image '%s': %w", img, err)
}
tag := ""
repository := ""