Browse Source

Fix typos: remove duplicated "the"

Signed-off-by: Masato Ohba <over.rye@gmail.com>
ohbarye 7 years ago
parent
commit
0f95b23d98

+ 2 - 2
api/swagger.yaml

@@ -3815,7 +3815,7 @@ definitions:
           - "process"
       InitBinary:
         description: |
-          Name and, optional, path of the the `docker-init` binary.
+          Name and, optional, path of the `docker-init` binary.
 
           If the path is omitted, the daemon searches the host's `$PATH` for the
           binary and uses the first result.
@@ -4033,7 +4033,7 @@ definitions:
           - "https://registry-3.docker.io/"
       Secure:
         description: |
-          Indicates if the the registry is part of the list of insecure
+          Indicates if the registry is part of the list of insecure
           registries.
 
           If `false`, the registry is insecure. Insecure registries accept

+ 1 - 1
daemon/cluster/controllers/plugin/controller.go

@@ -20,7 +20,7 @@ import (
 
 // Controller is the controller for the plugin backend.
 // Plugins are managed as a singleton object with a desired state (different from containers).
-// With the the plugin controller instead of having a strict create->start->stop->remove
+// With the plugin controller instead of having a strict create->start->stop->remove
 // task lifecycle like containers, we manage the desired state of the plugin and let
 // the plugin manager do what it already does and monitor the plugin.
 // We'll also end up with many tasks all pointing to the same plugin ID.

+ 1 - 1
errdefs/is.go

@@ -47,7 +47,7 @@ func IsConflict(err error) bool {
 	return ok
 }
 
-// IsUnauthorized returns if the the passed in error is an ErrUnauthorized
+// IsUnauthorized returns if the passed in error is an ErrUnauthorized
 func IsUnauthorized(err error) bool {
 	_, ok := getImplementer(err).(ErrUnauthorized)
 	return ok

+ 1 - 1
pkg/stdcopy/stdcopy.go

@@ -21,7 +21,7 @@ const (
 	// Stderr represents standard error steam type.
 	Stderr
 	// Systemerr represents errors originating from the system that make it
-	// into the the multiplexed stream.
+	// into the multiplexed stream.
 	Systemerr
 
 	stdWriterPrefixLen = 8

+ 1 - 1
plugin/v2/plugin.go

@@ -257,7 +257,7 @@ func (p *Plugin) Release() {
 	p.AddRefCount(plugingetter.Release)
 }
 
-// SetSpecOptModifier sets the function to use to modify the the generated
+// SetSpecOptModifier sets the function to use to modify the generated
 // runtime spec.
 func (p *Plugin) SetSpecOptModifier(f func(*specs.Spec)) {
 	p.mu.Lock()