remove extra parenthesis

This commit is contained in:
Colin Hebert 2016-01-31 08:49:35 +11:00
parent fd3ae2d607
commit d89c365838
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ func resourceDockerContainerCreate(d *schema.ResourceData, meta interface{}) err
for _, rawNetwork := range v.(*schema.Set).List() {
network := rawNetwork.(string)
if err := client.ConnectNetwork(network), connectionOpts); err != nil {
if err := client.ConnectNetwork(network, connectionOpts); err != nil {
return fmt.Errorf("Unable to connect to network '%s': %s", network, err)
}
}