From f6f294bd830f3dfa08ed04b51398d4b822c8fbf2 Mon Sep 17 00:00:00 2001 From: Brian Goff Date: Wed, 7 Oct 2020 22:27:59 +0000 Subject: [PATCH] testing: Init plugin config when for tests This fixes a panic when running this test for me locally. Signed-off-by: Brian Goff --- testutil/fixtures/plugin/plugin.go | 1 + 1 file changed, 1 insertion(+) diff --git a/testutil/fixtures/plugin/plugin.go b/testutil/fixtures/plugin/plugin.go index 3ec3bc39ea..88f1bd9b3a 100644 --- a/testutil/fixtures/plugin/plugin.go +++ b/testutil/fixtures/plugin/plugin.go @@ -91,6 +91,7 @@ func CreateInRegistry(ctx context.Context, repo string, auth *types.AuthConfig, } var cfg Config + cfg.PluginConfig = &types.PluginConfig{} for _, o := range opts { o(&cfg) }