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:
parent
817494d009
commit
672edfe807
8 changed files with 38 additions and 100 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue