Merge pull request #41533 from cpuguy83/fix_plugin_config

testing: Init plugin config when for tests
This commit is contained in:
Sebastiaan van Stijn 2020-10-21 22:44:32 +02:00 committed by GitHub
commit 48059fa5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}