Fix typos: remove duplicated "the"

Signed-off-by: Masato Ohba <over.rye@gmail.com>
This commit is contained in:
ohbarye 2018-05-17 21:09:19 +09:00
parent d37f5c6bdf
commit 0f95b23d98
5 changed files with 6 additions and 6 deletions

View file

@ -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

View file

@ -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.

View file

@ -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

View file

@ -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

View file

@ -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()