add global resource limmits
This commit is contained in:
@@ -214,19 +214,6 @@ func (e *Docker) create(ctx context.Context, spec *Spec, step *Step, output io.W
|
||||
return err
|
||||
}
|
||||
|
||||
// // use the default user-defined network if network_mode
|
||||
// // is not otherwise specified.
|
||||
// if step.Network == "" {
|
||||
// for _, net := range step.Networks {
|
||||
// err = e.client.NetworkConnect(ctx, net, step.ID, &network.EndpointSettings{
|
||||
// Aliases: []string{net},
|
||||
// })
|
||||
// if err != nil {
|
||||
// return nil
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user