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