Browse Source

Merge pull request #41533 from cpuguy83/fix_plugin_config

testing: Init plugin config when for tests
Sebastiaan van Stijn 4 years ago
parent
commit
48059fa5bf
1 changed files with 1 additions and 0 deletions
  1. 1 0
      testutil/fixtures/plugin/plugin.go

+ 1 - 0
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)
 	}