From 899caaca9c990067d541231c6d288de89dbb79e7 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 25 Nov 2015 13:45:37 +0000 Subject: [PATCH] Fix spelling of 'existent' Signed-off-by: Bryan Boreham --- integration-cli/docker_cli_volume_test.go | 4 ++-- pkg/filenotify/poller_test.go | 4 ++-- volume/volume.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/integration-cli/docker_cli_volume_test.go b/integration-cli/docker_cli_volume_test.go index b21b1aa10d..e13c7a4cae 100644 --- a/integration-cli/docker_cli_volume_test.go +++ b/integration-cli/docker_cli_volume_test.go @@ -37,7 +37,7 @@ func (s *DockerSuite) TestVolumeCliInspect(c *check.C) { c.Assert( exec.Command(dockerBinary, "volume", "inspect", "doesntexist").Run(), check.Not(check.IsNil), - check.Commentf("volume inspect should error on non-existant volume"), + check.Commentf("volume inspect should error on non-existent volume"), ) out, _ := dockerCmd(c, "volume", "create") @@ -144,7 +144,7 @@ func (s *DockerSuite) TestVolumeCliRm(c *check.C) { c.Assert( exec.Command("volume", "rm", "doesntexist").Run(), check.Not(check.IsNil), - check.Commentf("volume rm should fail with non-existant volume"), + check.Commentf("volume rm should fail with non-existent volume"), ) } diff --git a/pkg/filenotify/poller_test.go b/pkg/filenotify/poller_test.go index da946d249b..49e6e6486c 100644 --- a/pkg/filenotify/poller_test.go +++ b/pkg/filenotify/poller_test.go @@ -14,10 +14,10 @@ func TestPollerAddRemove(t *testing.T) { w := NewPollingWatcher() if err := w.Add("no-such-file"); err == nil { - t.Fatal("should have gotten error when adding a non-existant file") + t.Fatal("should have gotten error when adding a non-existent file") } if err := w.Remove("no-such-file"); err == nil { - t.Fatal("should have gotten error when removing non-existant watch") + t.Fatal("should have gotten error when removing non-existent watch") } f, err := ioutil.TempFile("", "asdf") diff --git a/volume/volume.go b/volume/volume.go index 98f90f06d4..2948793fe9 100644 --- a/volume/volume.go +++ b/volume/volume.go @@ -66,7 +66,7 @@ func (m *MountPoint) Setup() (string, error) { return "", err } if runtime.GOOS != "windows" { // Windows does not have deprecation issues here - logrus.Warnf("Auto-creating non-existant volume host path %s, this is deprecated and will be removed soon", m.Source) + logrus.Warnf("Auto-creating non-existent volume host path %s, this is deprecated and will be removed soon", m.Source) if err := system.MkdirAll(m.Source, 0755); err != nil { return "", err }