Fix broken error handling when creating network

This commit is contained in:
Dane Everitt 2021-01-21 20:45:56 -08:00
parent 17b46a4a8f
commit bcca2550d1
No known key found for this signature in database
GPG Key ID: EEA66103B3D71F53

View File

@ -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