1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Remove the concept of a root dir out of engine

This makes the engine more general purpose so that we can
use it and the job routing functionality for reexec'ing our binary
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)

Conflicts:
	integration/runtime_test.go
This commit is contained in:
Michael Crosby 2014-03-14 16:53:43 -07:00
parent 817494d009
commit 672edfe807
8 changed files with 38 additions and 100 deletions

View file

@ -181,7 +181,7 @@ func newTestEngine(t utils.Fataler, autorestart bool, root string) *engine.Engin
root = dir
}
}
eng, err := engine.New(root)
eng, err := engine.New()
if err != nil {
t.Fatal(err)
}