Browse code

Fix typos: remove duplicated "the"

Signed-off-by: Masato Ohba <over.rye@gmail.com>

ohbarye authored on 2018/05/17 21:09:19
Showing 5 changed files
... ...
@@ -3815,7 +3815,7 @@ definitions:
3815 3815
           - "process"
3816 3816
       InitBinary:
3817 3817
         description: |
3818
-          Name and, optional, path of the the `docker-init` binary.
3818
+          Name and, optional, path of the `docker-init` binary.
3819 3819
 
3820 3820
           If the path is omitted, the daemon searches the host's `$PATH` for the
3821 3821
           binary and uses the first result.
... ...
@@ -4033,7 +4033,7 @@ definitions:
4033 4033
           - "https://registry-3.docker.io/"
4034 4034
       Secure:
4035 4035
         description: |
4036
-          Indicates if the the registry is part of the list of insecure
4036
+          Indicates if the registry is part of the list of insecure
4037 4037
           registries.
4038 4038
 
4039 4039
           If `false`, the registry is insecure. Insecure registries accept
... ...
@@ -20,7 +20,7 @@ import (
20 20
 
21 21
 // Controller is the controller for the plugin backend.
22 22
 // Plugins are managed as a singleton object with a desired state (different from containers).
23
-// With the the plugin controller instead of having a strict create->start->stop->remove
23
+// With the plugin controller instead of having a strict create->start->stop->remove
24 24
 // task lifecycle like containers, we manage the desired state of the plugin and let
25 25
 // the plugin manager do what it already does and monitor the plugin.
26 26
 // We'll also end up with many tasks all pointing to the same plugin ID.
... ...
@@ -47,7 +47,7 @@ func IsConflict(err error) bool {
47 47
 	return ok
48 48
 }
49 49
 
50
-// IsUnauthorized returns if the the passed in error is an ErrUnauthorized
50
+// IsUnauthorized returns if the passed in error is an ErrUnauthorized
51 51
 func IsUnauthorized(err error) bool {
52 52
 	_, ok := getImplementer(err).(ErrUnauthorized)
53 53
 	return ok
... ...
@@ -21,7 +21,7 @@ const (
21 21
 	// Stderr represents standard error steam type.
22 22
 	Stderr
23 23
 	// Systemerr represents errors originating from the system that make it
24
-	// into the the multiplexed stream.
24
+	// into the multiplexed stream.
25 25
 	Systemerr
26 26
 
27 27
 	stdWriterPrefixLen = 8
... ...
@@ -257,7 +257,7 @@ func (p *Plugin) Release() {
257 257
 	p.AddRefCount(plugingetter.Release)
258 258
 }
259 259
 
260
-// SetSpecOptModifier sets the function to use to modify the the generated
260
+// SetSpecOptModifier sets the function to use to modify the generated
261 261
 // runtime spec.
262 262
 func (p *Plugin) SetSpecOptModifier(f func(*specs.Spec)) {
263 263
 	p.mu.Lock()