1
0
mirror of https://github.com/moby/moby.git synced 2025-08-01 05:47:11 +03:00

Minor typo: remove redundant dot in error message in runconfig/parse.go

Signed-off-by: Lei Jitang <leijitang@huawei.com>
This commit is contained in:
Lei Jitang
2015-05-13 11:04:07 +08:00
parent a5007e5737
commit c6dad07b1b
3 changed files with 7 additions and 7 deletions

View File

@ -251,7 +251,7 @@ func (s *DockerSuite) TestLinksNetworkHostContainer(c *check.C) {
}
out, _, err = runCommandWithOutput(exec.Command(dockerBinary, "run", "--name", "should_fail", "--link", "host_container:tester", "busybox", "true"))
if err == nil || !strings.Contains(out, "--net=host can't be used with links. This would result in undefined behavior.") {
if err == nil || !strings.Contains(out, "--net=host can't be used with links. This would result in undefined behavior") {
c.Fatalf("Running container linking to a container with --net host should have failed: %s", out)
}