Skip to content

Commit

Permalink
testutil: fix WithExperimental also setting "init"
Browse files Browse the repository at this point in the history
Looks like this was overlooked in the review of the PR that added
this; e401b88

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 <[email protected]>
  • Loading branch information
thaJeztah committed Sep 30, 2019
1 parent 5b57f41 commit 5aebd69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion testutil/daemon/ops.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5aebd69

Please sign in to comment.