mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-31 20:19:33 -05:00
Fix typo
This commit is contained in:
parent
99f83853f7
commit
c823565d5d
1 changed files with 1 additions and 1 deletions
|
|
@ -149,7 +149,7 @@ func resourceDockerContainerCreate(d *schema.ResourceData, meta interface{}) err
|
|||
d.SetId(retContainer.ID)
|
||||
|
||||
if v, ok := d.GetOk("networks"); ok {
|
||||
connectionOpts := &dc.NetworkConnectionOptions{Container: retContainer.ID}
|
||||
connectionOpts := dc.NetworkConnectionOptions{Container: retContainer.ID}
|
||||
|
||||
for _, network := range v.(*schema.Set).List() {
|
||||
client.ConnectNetwork(network.(string), connectionOpts)
|
||||
|
|
|
|||
Loading…
Reference in a new issue