mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2026-01-09 00:02:55 -05:00
Convert v to string
This commit is contained in:
parent
a44b873992
commit
1d60a86a14
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue