mirror of
https://github.com/docker/cli.git
synced 2026-09-24 07:25:07 -05:00
Use newer default values for mounts CLI
In the API: `Writable` changed to `ReadOnly` `Populate` changed to `NoCopy` Corresponding CLI options updated to: `volume-writable` changed to `volume-readonly` `volume-populate` changed to `volume-nocopy` Signed-off-by: Brian Goff <cpuguy83@gmail.com> Upstream-commit: 56f3422468a0b43da7bae7a01762ce4f0a92d9ff Component: engine
This commit is contained in:
@@ -41,5 +41,5 @@ func (s *DockerSwarmSuite) TestServiceCreateMountVolume(c *check.C) {
|
||||
|
||||
c.Assert(mounts[0].Name, checker.Equals, "foo")
|
||||
c.Assert(mounts[0].Destination, checker.Equals, "/foo")
|
||||
c.Assert(mounts[0].RW, checker.Equals, false)
|
||||
c.Assert(mounts[0].RW, checker.Equals, true)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user