Fix broken error handling when creating network
This commit is contained in:
parent
6a286fb444
commit
f7788e10a0
|
@ -42,9 +42,10 @@ func ConfigureDocker(ctx context.Context) error {
|
||||||
if err := createDockerNetwork(ctx, cli); err != nil {
|
if err := createDockerNetwork(ctx, cli); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
config.Update(func(c *config.Configuration) {
|
config.Update(func(c *config.Configuration) {
|
||||||
c.Docker.Network.Driver = resource.Driver
|
c.Docker.Network.Driver = resource.Driver
|
||||||
|
|
Loading…
Reference in New Issue
Block a user