Convert some "daemon" static error strings to the new errocode package format

Signed-off-by: Doug Davis <dug@us.ibm.com>
This commit is contained in:
Doug Davis
2015-09-16 16:16:42 -07:00
parent e0fee019ca
commit f7d4b4fe2b
17 changed files with 565 additions and 98 deletions
+1 -1
View File
@@ -3000,7 +3000,7 @@ func (s *DockerSuite) TestRunContainerNetworkModeToSelf(c *check.C) {
testRequires(c, DaemonIsLinux)
out, _, err := dockerCmdWithError("run", "--name=me", "--net=container:me", "busybox", "true")
if err == nil || !strings.Contains(out, "cannot join own network") {
c.Fatalf("using container net mode to self should result in an error")
c.Fatalf("using container net mode to self should result in an error\nerr: %q\nout: %s", err, out)
}
}