Fix a unit test broken by pull request #703

Upstream-commit: bb4b35a8920bcba8b60784297650ced5b2e01e47
Component: engine
This commit is contained in:
Solomon Hykes
2013-05-24 18:32:21 -07:00
parent 2b6649e390
commit 0fb224b331

View File

@ -75,11 +75,13 @@ func init() {
registry: registry.NewRegistry(runtime.root),
}
// Retrieve the Image
if err := srv.ImagePull(unitTestImageName, "", "", os.Stdout); err != nil {
if err := srv.ImagePull(unitTestImageName, "", "", os.Stdout, false); err != nil {
panic(err)
}
}
// FIXME: test that ImagePull(json=true) send correct json output
func newTestRuntime() (*Runtime, error) {
root, err := ioutil.TempDir("", "docker-test")
if err != nil {