X Tutup
Skip to content

Commit a3cae91

Browse files
committed
fix some typos
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
1 parent e0b1736 commit a3cae91

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

archive/tar.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ func (cw *changeWriter) Close() error {
386386
}
387387

388388
func createTarFile(ctx context.Context, path, extractDir string, hdr *tar.Header, reader io.Reader) error {
389-
// hdr.Mode is in linux format, which we can use for sycalls,
389+
// hdr.Mode is in linux format, which we can use for syscalls,
390390
// but for os.Foo() calls we need the mode converted to os.FileMode,
391391
// so use hdrInfo.Mode() (they differ for e.g. setuid bits)
392392
hdrInfo := hdr.FileInfo()

design/data-flow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ images, hiding many details and complexity. This document intends to shed light
55
on that complexity and detail how a "pull" operation will look from the
66
perspective of a containerd user. We use the _bundle_ as the target object in
77
this workflow, and walk back from there to describe the full process. In this
8-
context, we describe bothing pulling an image and creating a bundle from that
8+
context, we describe both pulling an image and creating a bundle from that
99
image.
1010

1111
With containerd, we redefine the "pull" to comprise the same set of steps

design/lifecycle.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ The daemon provides an API to manage multiple containers. It can handle locking
1111

1212
Each container has its own shim that acts as the direct parent of the container's processes. The shim is responsible for keeping the IO and/or pty master of the container open, writing the container's exit status for containerd, and reaping the container's processes when they exit. Since the shim owns the container's pty master, it provides an API for resizing.
1313

14-
Overall, a container's lifecycle is not tied to the containerd daemon. The daemon is a management API for multiple container whoms lifecycle is tied to one shim per container.
14+
Overall, a container's lifecycle is not tied to the containerd daemon. The daemon is a management API for multiple container whose lifecycle is tied to one shim per container.

fs/diff_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ func testDiffWithBase(base, diff fstest.Applier, expected []testChange) error {
161161
defer os.RemoveAll(t2)
162162

163163
if err := base.Apply(t1); err != nil {
164-
return errors.Wrap(err, "failed to apply base filesytem")
164+
return errors.Wrap(err, "failed to apply base filesystem")
165165
}
166166

167167
if err := CopyDir(t2, t1); err != nil {

reports/2017-02-10.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ The content and storage subsystems would produce bundles and the execution subsy
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.
4545

46-
So the major design change is that bundles will be an implemenation detail of the runtime and not a core
46+
So the major design change is that bundles will be an implementation detail of the runtime and not a core
4747
part of the API. You will no longer pass the bundle path to containerd, it will manage bundles internally
4848
and the root filesystem mounts along with the spec, passed via the `Any` type, will be API fields for the
4949
create request of a container.

0 commit comments

Comments
 (0)
X Tutup