Merge pull request #34572 from krizalys/hyphenless-bind-mount

Dropped hyphen in bind mount where appropriate
This commit is contained in:
Yong Tang
2017-08-22 05:11:46 -07:00
committed by GitHub
13 changed files with 18 additions and 18 deletions

View File

@@ -2185,7 +2185,7 @@ func (s *DockerSuite) TestVolumesNoCopyData(c *check.C) {
tmpDir := testutil.RandomTmpDirPath("docker_test_bind_mount_copy_data", testEnv.DaemonPlatform())
if out, _, err := dockerCmdWithError("run", "-v", tmpDir+":/foo", "dataimage", "ls", "-lh", "/foo/bar"); err == nil || !strings.Contains(out, "No such file or directory") {
c.Fatalf("Data was copied on bind-mount but shouldn't be:\n%q", out)
c.Fatalf("Data was copied on bind mount but shouldn't be:\n%q", out)
}
}