mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix typos: remove duplicated "the"
Signed-off-by: Masato Ohba <over.rye@gmail.com>
This commit is contained in:
parent
d37f5c6bdf
commit
0f95b23d98
5 changed files with 6 additions and 6 deletions
|
@ -3815,7 +3815,7 @@ definitions:
|
||||||
- "process"
|
- "process"
|
||||||
InitBinary:
|
InitBinary:
|
||||||
description: |
|
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
|
If the path is omitted, the daemon searches the host's `$PATH` for the
|
||||||
binary and uses the first result.
|
binary and uses the first result.
|
||||||
|
@ -4033,7 +4033,7 @@ definitions:
|
||||||
- "https://registry-3.docker.io/"
|
- "https://registry-3.docker.io/"
|
||||||
Secure:
|
Secure:
|
||||||
description: |
|
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.
|
registries.
|
||||||
|
|
||||||
If `false`, the registry is insecure. Insecure registries accept
|
If `false`, the registry is insecure. Insecure registries accept
|
||||||
|
|
|
@ -20,7 +20,7 @@ import (
|
||||||
|
|
||||||
// Controller is the controller for the plugin backend.
|
// Controller is the controller for the plugin backend.
|
||||||
// Plugins are managed as a singleton object with a desired state (different from containers).
|
// 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
|
// 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.
|
// 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.
|
// We'll also end up with many tasks all pointing to the same plugin ID.
|
||||||
|
|
|
@ -47,7 +47,7 @@ func IsConflict(err error) bool {
|
||||||
return ok
|
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 {
|
func IsUnauthorized(err error) bool {
|
||||||
_, ok := getImplementer(err).(ErrUnauthorized)
|
_, ok := getImplementer(err).(ErrUnauthorized)
|
||||||
return ok
|
return ok
|
||||||
|
|
|
@ -21,7 +21,7 @@ const (
|
||||||
// Stderr represents standard error steam type.
|
// Stderr represents standard error steam type.
|
||||||
Stderr
|
Stderr
|
||||||
// Systemerr represents errors originating from the system that make it
|
// Systemerr represents errors originating from the system that make it
|
||||||
// into the the multiplexed stream.
|
// into the multiplexed stream.
|
||||||
Systemerr
|
Systemerr
|
||||||
|
|
||||||
stdWriterPrefixLen = 8
|
stdWriterPrefixLen = 8
|
||||||
|
|
|
@ -257,7 +257,7 @@ func (p *Plugin) Release() {
|
||||||
p.AddRefCount(plugingetter.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.
|
// runtime spec.
|
||||||
func (p *Plugin) SetSpecOptModifier(f func(*specs.Spec)) {
|
func (p *Plugin) SetSpecOptModifier(f func(*specs.Spec)) {
|
||||||
p.mu.Lock()
|
p.mu.Lock()
|
||||||
|
|
Loading…
Reference in a new issue