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

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