Fix broken error handling when creating network

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

View File

@ -42,8 +42,9 @@ 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) {