Skip to content

Commit

Permalink
Fix c.ImageInspectWithRaw() call for new version of docker/engine-api
Browse files Browse the repository at this point in the history
  • Loading branch information
raphink committed Aug 17, 2016
1 parent 4cd9b29 commit d6a7452
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func GetVolumeLabel(vol *types.Volume, key string) (value string, err error) {

// PullImage pulls an image from the registry
func PullImage(c *docker.Client, image string) (err error) {
if _, _, err = c.ImageInspectWithRaw(context.Background(), image, false); err != nil {
if _, _, err = c.ImageInspectWithRaw(context.Background(), image); err != nil {
// TODO: output pull to logs
log.WithFields(log.Fields{
"image": image,
Expand Down

0 comments on commit d6a7452

Please sign in to comment.