Skip to content

Commit 0f95b23

Browse files
committed
Fix typos: remove duplicated "the"
Signed-off-by: Masato Ohba <[email protected]>
1 parent d37f5c6 commit 0f95b23

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

api/swagger.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3815,7 +3815,7 @@ definitions:
38153815
- "process"
38163816
InitBinary:
38173817
description: |
3818-
Name and, optional, path of the the `docker-init` binary.
3818+
Name and, optional, path of the `docker-init` binary.
38193819
38203820
If the path is omitted, the daemon searches the host's `$PATH` for the
38213821
binary and uses the first result.
@@ -4033,7 +4033,7 @@ definitions:
40334033
- "https://registry-3.docker.io/"
40344034
Secure:
40354035
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
40374037
registries.
40384038
40394039
If `false`, the registry is insecure. Insecure registries accept

daemon/cluster/controllers/plugin/controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020

2121
// Controller is the controller for the plugin backend.
2222
// 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
2424
// task lifecycle like containers, we manage the desired state of the plugin and let
2525
// the plugin manager do what it already does and monitor the plugin.
2626
// We'll also end up with many tasks all pointing to the same plugin ID.

errdefs/is.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ func IsConflict(err error) bool {
4747
return ok
4848
}
4949

50-
// IsUnauthorized returns if the the passed in error is an ErrUnauthorized
50+
// IsUnauthorized returns if the passed in error is an ErrUnauthorized
5151
func IsUnauthorized(err error) bool {
5252
_, ok := getImplementer(err).(ErrUnauthorized)
5353
return ok

pkg/stdcopy/stdcopy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const (
2121
// Stderr represents standard error steam type.
2222
Stderr
2323
// Systemerr represents errors originating from the system that make it
24-
// into the the multiplexed stream.
24+
// into the multiplexed stream.
2525
Systemerr
2626

2727
stdWriterPrefixLen = 8

plugin/v2/plugin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ func (p *Plugin) Release() {
257257
p.AddRefCount(plugingetter.Release)
258258
}
259259

260-
// SetSpecOptModifier sets the function to use to modify the the generated
260+
// SetSpecOptModifier sets the function to use to modify the generated
261261
// runtime spec.
262262
func (p *Plugin) SetSpecOptModifier(f func(*specs.Spec)) {
263263
p.mu.Lock()

0 commit comments

Comments
 (0)