mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-03 13:29:36 -05:00
remove extra parenthesis
This commit is contained in:
parent
edd907c043
commit
f763cd8b35
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue