traefik/vendor/github.com/libkermit/docker-check/images.go

12 lines
253 B
Go
Raw Normal View History

2017-02-07 21:33:23 +00:00
package docker
import (
"github.com/go-check/check"
)
// Pull pulls the given reference (image)
func (p *Project) Pull(c *check.C, ref string) {
c.Assert(p.project.Pull(ref), check.IsNil,
check.Commentf("Error while pulling image %s: %s", ref))
}