From 6154fad93339a273527dea6f4765f2ac8c95cf36 Mon Sep 17 00:00:00 2001 From: Daniel Portella Date: Wed, 29 Jun 2016 15:48:15 +0100 Subject: [PATCH] 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 --- resource_docker_container_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resource_docker_container_test.go b/resource_docker_container_test.go index 167ac5db..a3d7e925 100644 --- a/resource_docker_container_test.go +++ b/resource_docker_container_test.go @@ -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 {