Signed-off-by: buddhamagnet <buddhamagnet@gmail.com>
| ... | ... |
@@ -576,7 +576,7 @@ func TestVolumesFromGetsProperMode(t *testing.T) {
|
| 576 | 576 |
if _, err := runCommand(cmd); err != nil {
|
| 577 | 577 |
t.Fatal(err) |
| 578 | 578 |
} |
| 579 |
- // Expect this "rw" mode to be be ignored since the inheritted volume is "ro" |
|
| 579 |
+ // Expect this "rw" mode to be be ignored since the inherited volume is "ro" |
|
| 580 | 580 |
cmd = exec.Command(dockerBinary, "run", "--volumes-from", "parent:rw", "busybox", "touch", "/test/file") |
| 581 | 581 |
if _, err := runCommand(cmd); err == nil {
|
| 582 | 582 |
t.Fatal("Expected volumes-from to inherit read-only volume even when passing in `rw`")
|