mirror of
https://github.com/moby/moby.git
synced 2026-08-08 00:52:17 +00:00
testutil: fix WithExperimental also setting "init"
Looks like this was overlooked in the review of the PR that added
this; e401b88e59
There is a separate option for `WithInit`, so this option should not
automatically enable it when starting a daemon with experimental enabled.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -26,7 +26,6 @@ func WithTestLogger(t testing.TB) func(*Daemon) {
|
||||
// WithExperimental sets the daemon in experimental mode
|
||||
func WithExperimental(d *Daemon) {
|
||||
d.experimental = true
|
||||
d.init = true
|
||||
}
|
||||
|
||||
// WithInit sets the daemon init
|
||||
|
||||
Reference in New Issue
Block a user