Skip to content

Commit 4cd5de7

Browse files
authored
Merge pull request #3678 from yuxiaobo96/containerd-update
Word spelling correction
2 parents aba2013 + a0ae24b commit 4cd5de7

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

cmd/containerd/command/service_unsupported.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func serviceFlags() []cli.Flag {
2929
return nil
3030
}
3131

32-
// applyPlatformFlags applys platform-specific flags.
32+
// applyPlatformFlags applies platform-specific flags.
3333
func applyPlatformFlags(context *cli.Context) {
3434
}
3535

container_linux_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ func TestShimInCgroup(t *testing.T) {
174174
t.Fatal(err)
175175
}
176176
if len(processes) == 0 {
177-
t.Errorf("created cgroup should have atleast one process inside: %d", len(processes))
177+
t.Errorf("created cgroup should have at least one process inside: %d", len(processes))
178178
}
179179
if err := task.Kill(ctx, unix.SIGKILL); err != nil {
180180
t.Fatal(err)

images/archive/importer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func ImportIndex(ctx context.Context, store content.Store, reader io.Reader, opt
124124
}
125125

126126
// If OCI layout was given, interpret the tar as an OCI layout.
127-
// When not provided, the layout of the tar will be interpretted
127+
// When not provided, the layout of the tar will be interpreted
128128
// as Docker v1.1 or v1.2.
129129
if ociLayout.Version != "" {
130130
if ociLayout.Version != ocispec.ImageLayoutVersion {

oci/spec.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func generateDefaultSpecWithPlatform(ctx context.Context, platform, id string, s
7878
return err
7979
}
8080

81-
// ApplyOpts applys the options to the given spec, injecting data from the
81+
// ApplyOpts applies the options to the given spec, injecting data from the
8282
// context, client and container instance.
8383
func ApplyOpts(ctx context.Context, client Client, c *containers.Container, s *Spec, opts ...SpecOpts) error {
8484
for _, o := range opts {

process.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func NewExitStatus(code uint32, t time.Time, err error) *ExitStatus {
6161
}
6262
}
6363

64-
// ExitStatus encapsulates a process' exit status.
64+
// ExitStatus encapsulates a process's exit status.
6565
// It is used by `Wait()` to return either a process exit code or an error
6666
type ExitStatus struct {
6767
code uint32

remotes/handlers_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func TestContextCustomKeyPrefix(t *testing.T) {
3030
ctx = WithMediaTypeKeyPrefix(ctx, images.MediaTypeDockerSchema2Layer, "bananas")
3131
ctx = WithMediaTypeKeyPrefix(ctx, cmt, "apples")
3232

33-
// makes sure tha even though we've supplied some custom handling, the built-in still works
33+
// makes sure that even though we've supplied some custom handling, the built-in still works
3434
t.Run("normal supported case", func(t *testing.T) {
3535
desc := ocispec.Descriptor{MediaType: ocispec.MediaTypeImageLayer}
3636
expected := "layer-"

0 commit comments

Comments
 (0)