Merge pull request #41533 from cpuguy83/fix_plugin_config
testing: Init plugin config when for tests
This commit is contained in:
commit
48059fa5bf
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue