mirror of
https://github.com/kreuzwerker/terraform-provider-docker.git
synced 2025-12-31 12:10:27 -05:00
provider/docker: Docker documentation and additional test message (#7412)
* added additional error info for when memory swap assert fails. related to https://github.com/hashicorp/terraform/pull/7392 * updated docker_container documentation reflect recent changes to docker provider around tests, dns options and dns search support. * Grammar and punctuation changes Docker container documentation. * Spell checking, grammar and punctuation. Docker container documentation. * Markdown change sto docker container documentation
This commit is contained in:
parent
efcec57608
commit
6154fad933
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ func TestAccDockerContainer_customized(t *testing.T) {
|
|||
}
|
||||
|
||||
if c.HostConfig.MemorySwap != (2048 * 1024 * 1024) {
|
||||
return fmt.Errorf("Container has wrong memory swap setting: %d", c.HostConfig.MemorySwap)
|
||||
return fmt.Errorf("Container has wrong memory swap setting: %d\n\r\tPlease check that you machine supports memory swap (you can do that by running 'docker info' command).", c.HostConfig.MemorySwap)
|
||||
}
|
||||
|
||||
if c.HostConfig.CPUShares != 32 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue