Skip to content

Commit 92a5b08

Browse files
committed
fix-grammar-mistake
Signed-off-by: chentanjun <[email protected]>
1 parent 3096178 commit 92a5b08

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

containers/containers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ type Container struct {
4949
// This property is required and immutable.
5050
Runtime RuntimeInfo
5151

52-
// Spec should carry the the runtime specification used to implement the
52+
// Spec should carry the runtime specification used to implement the
5353
// container.
5454
//
5555
// This field is required but mutable.

docs/namespaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Note that currently only these two labels are used to configure the defaults and
6464

6565
If we need to inspect containers, images, or other resources in various namespaces the `ctr` tool allows you to do this.
6666
Simply set the `--namespace,-n` flag on `ctr` to change the namespace. If you do not provide a namespace, `ctr` client commands
67-
will all use the the default namespace, which is simply named "`default`".
67+
will all use the default namespace, which is simply named "`default`".
6868

6969
```bash
7070
> sudo ctr -n docker tasks

log/context.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ var (
3030
// messages.
3131
G = GetLogger
3232

33-
// L is an alias for the the standard logger.
33+
// L is an alias for the standard logger.
3434
L = logrus.NewEntry(logrus.StandardLogger())
3535
)
3636

oci/spec_opts.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ func WithDefaultSpecForPlatform(platform string) SpecOpts {
118118
}
119119
}
120120

121-
// WithSpecFromBytes loads the the spec from the provided byte slice.
121+
// WithSpecFromBytes loads the spec from the provided byte slice.
122122
func WithSpecFromBytes(p []byte) SpecOpts {
123123
return func(_ context.Context, _ Client, _ *containers.Container, s *Spec) error {
124124
*s = Spec{} // make sure spec is cleared.
@@ -628,7 +628,7 @@ func WithUserID(uid uint32) SpecOpts {
628628
}
629629

630630
// WithUsername sets the correct UID and GID for the container
631-
// based on the the image's /etc/passwd contents. If /etc/passwd
631+
// based on the image's /etc/passwd contents. If /etc/passwd
632632
// does not exist, or the username is not found in /etc/passwd,
633633
// it returns error.
634634
func WithUsername(username string) SpecOpts {

platforms/platforms.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ type Matcher interface {
130130
// specification. The returned matcher only looks for equality based on os,
131131
// architecture and variant.
132132
//
133-
// One may implement their own matcher if this doesn't provide the the required
133+
// One may implement their own matcher if this doesn't provide the required
134134
// functionality.
135135
//
136136
// Applications should opt to use `Match` over directly parsing specifiers.

reports/2017-02-10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ much smaller interface!
3838
## Bundles Bundles Bundles
3939

4040
We spend time talking with people implementing Windows support as well as a few other users.
41-
One the the major issues with our current approach was that bundles were a central part of our architecture.
41+
One the major issues with our current approach was that bundles were a central part of our architecture.
4242
The content and storage subsystems would produce bundles and the execution subsystem would consume them.
4343
However, with a bundle being on the filesystem, having this concept does not work as smoothly on Windows
4444
as it would for Unix platforms.

0 commit comments

Comments
 (0)