Fix error

This commit is contained in:
Marcos Lilljedahl
2017-08-25 14:58:28 -03:00
parent e9f5de5677
commit 5511d20d1b

View File

@@ -312,7 +312,7 @@ func (d *docker) CreateContainer(opts CreateContainerOpts) error {
for _, nid := range opts.Networks { for _, nid := range opts.Networks {
err := d.c.NetworkConnect(context.Background(), nid, container.ID, &network.EndpointSettings{}) err := d.c.NetworkConnect(context.Background(), nid, container.ID, &network.EndpointSettings{})
if err != nil { if err != nil {
return "", err return err
} }
} }
} }