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

Merge pull request #40012 from thaJeztah/fix_withexperimental

testutil: fix WithExperimental also setting "init"
This commit is contained in:
Sebastiaan van Stijn 2019-09-30 17:30:42 +02:00 committed by GitHub
commit 517b9957b6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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