Merge pull request #13154 from coolljt0725/typo_remove_redundant_dot

Minor typo: remove redundant dot in error message in runconfig/parse.go
This commit is contained in:
Alexander Morozov
2015-05-13 15:24:01 -07:00
3 changed files with 7 additions and 7 deletions
+1 -1
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)
}