mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #12554 from buddhamagnet/12553-cli-doc-correction
12553 fix typo
This commit is contained in:
commit
53edce79f1
1 changed files with 1 additions and 1 deletions
|
@ -576,7 +576,7 @@ func TestVolumesFromGetsProperMode(t *testing.T) {
|
||||||
if _, err := runCommand(cmd); err != nil {
|
if _, err := runCommand(cmd); err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
// Expect this "rw" mode to be be ignored since the inheritted volume is "ro"
|
// Expect this "rw" mode to be be ignored since the inherited volume is "ro"
|
||||||
cmd = exec.Command(dockerBinary, "run", "--volumes-from", "parent:rw", "busybox", "touch", "/test/file")
|
cmd = exec.Command(dockerBinary, "run", "--volumes-from", "parent:rw", "busybox", "touch", "/test/file")
|
||||||
if _, err := runCommand(cmd); err == nil {
|
if _, err := runCommand(cmd); err == nil {
|
||||||
t.Fatal("Expected volumes-from to inherit read-only volume even when passing in `rw`")
|
t.Fatal("Expected volumes-from to inherit read-only volume even when passing in `rw`")
|
||||||
|
|
Loading…
Reference in a new issue