mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
testing: Init plugin config when for tests
This fixes a panic when running this test for me locally. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This commit is contained in:
parent
d6b1f2ae7d
commit
f6f294bd83
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…
Add table
Reference in a new issue