Log errors inspecting images.

This commit is contained in:
Matt Butcher 2014-05-23 13:16:27 -06:00
parent 5886e0fec1
commit 0b29cd326f

View file

@ -244,6 +244,8 @@ func (b *Builder) setup() error {
if err := b.dockerClient.Images.Pull(b.Build.Image); err != nil {
return err
}
} else if err != nil {
log.Errf("failed to inspect image %s", b.Build.Image)
}
// create the Docker image