1
0
Fork 0
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:
Brian Goff 2020-10-07 22:27:59 +00:00
parent d6b1f2ae7d
commit f6f294bd83

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