mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-14 01:13:59 -06:00
Convert v to string
This commit is contained in:
parent
32ce8fbcb4
commit
ad0a763661
@ -137,7 +137,7 @@ func resourceDockerContainerCreate(d *schema.ResourceData, meta interface{}) err
|
||||
}
|
||||
|
||||
if v, ok := d.GetOk("network_mode"); ok {
|
||||
hostConfig.NetworkMode = v
|
||||
hostConfig.NetworkMode = v.(string)
|
||||
}
|
||||
|
||||
createOpts.HostConfig = hostConfig
|
||||
|
Loading…
Reference in New Issue
Block a user