From 5aebd698579649f076276c70ab33e2f34634ad3e Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 30 Sep 2019 14:37:57 +0200 Subject: [PATCH] testutil: fix WithExperimental also setting "init" Looks like this was overlooked in the review of the PR that added this; e401b88e59e098745744917c555d549f08353e6d 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 --- testutil/daemon/ops.go | 1 - 1 file changed, 1 deletion(-) diff --git a/testutil/daemon/ops.go b/testutil/daemon/ops.go index 38f209c40f..9f1fd970ac 100644 --- a/testutil/daemon/ops.go +++ b/testutil/daemon/ops.go @@ -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