Skip to content

Commit

Permalink
Fix typos: remove duplicated "the"
Browse files Browse the repository at this point in the history
Signed-off-by: Masato Ohba <[email protected]>
  • Loading branch information
ohbarye committed May 17, 2018
1 parent d37f5c6 commit 0f95b23
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions api/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion daemon/cluster/controllers/plugin/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion errdefs/is.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion pkg/stdcopy/stdcopy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion plugin/v2/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0f95b23

Please sign in to comment.