mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Fix typo
This commit is contained in:
parent
6e36095644
commit
35188f3694
@ -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 New Issue
Block a user