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:
parent
5b57f41241
commit
5aebd69857
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue