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

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