Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
| ... | ... |
@@ -37,7 +37,7 @@ func (s *DockerSuite) TestVolumeCliInspect(c *check.C) {
|
| 37 | 37 |
c.Assert( |
| 38 | 38 |
exec.Command(dockerBinary, "volume", "inspect", "doesntexist").Run(), |
| 39 | 39 |
check.Not(check.IsNil), |
| 40 |
- check.Commentf("volume inspect should error on non-existant volume"),
|
|
| 40 |
+ check.Commentf("volume inspect should error on non-existent volume"),
|
|
| 41 | 41 |
) |
| 42 | 42 |
|
| 43 | 43 |
out, _ := dockerCmd(c, "volume", "create") |
| ... | ... |
@@ -144,7 +144,7 @@ func (s *DockerSuite) TestVolumeCliRm(c *check.C) {
|
| 144 | 144 |
c.Assert( |
| 145 | 145 |
exec.Command("volume", "rm", "doesntexist").Run(),
|
| 146 | 146 |
check.Not(check.IsNil), |
| 147 |
- check.Commentf("volume rm should fail with non-existant volume"),
|
|
| 147 |
+ check.Commentf("volume rm should fail with non-existent volume"),
|
|
| 148 | 148 |
) |
| 149 | 149 |
} |
| 150 | 150 |
|
| ... | ... |
@@ -14,10 +14,10 @@ func TestPollerAddRemove(t *testing.T) {
|
| 14 | 14 |
w := NewPollingWatcher() |
| 15 | 15 |
|
| 16 | 16 |
if err := w.Add("no-such-file"); err == nil {
|
| 17 |
- t.Fatal("should have gotten error when adding a non-existant file")
|
|
| 17 |
+ t.Fatal("should have gotten error when adding a non-existent file")
|
|
| 18 | 18 |
} |
| 19 | 19 |
if err := w.Remove("no-such-file"); err == nil {
|
| 20 |
- t.Fatal("should have gotten error when removing non-existant watch")
|
|
| 20 |
+ t.Fatal("should have gotten error when removing non-existent watch")
|
|
| 21 | 21 |
} |
| 22 | 22 |
|
| 23 | 23 |
f, err := ioutil.TempFile("", "asdf")
|
| ... | ... |
@@ -66,7 +66,7 @@ func (m *MountPoint) Setup() (string, error) {
|
| 66 | 66 |
return "", err |
| 67 | 67 |
} |
| 68 | 68 |
if runtime.GOOS != "windows" { // Windows does not have deprecation issues here
|
| 69 |
- logrus.Warnf("Auto-creating non-existant volume host path %s, this is deprecated and will be removed soon", m.Source)
|
|
| 69 |
+ logrus.Warnf("Auto-creating non-existent volume host path %s, this is deprecated and will be removed soon", m.Source)
|
|
| 70 | 70 |
if err := system.MkdirAll(m.Source, 0755); err != nil {
|
| 71 | 71 |
return "", err |
| 72 | 72 |
} |