docs: Various typo found by codespell

Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
Shengjing Zhu
2020-12-21 00:11:32 +08:00
parent b4c604692e
commit 5988bfc1ef
21 changed files with 25 additions and 25 deletions

View File

@@ -84,7 +84,7 @@ This is a containerd-defined label which contains ChainID that targets a committ
At this moment, user-defined labels (prefixed by `containerd.io/snapshot/`) will also be merged into the labels option.
```go
// Gets annotations appended to the targetting layer which would contain
// Gets annotations appended to the targeting layer which would contain
// snapshotter-specific information passed by the user.
labels := snapshots.FilterInheritedLabels(desc.Annotations)
if labels == nil {
@@ -98,7 +98,7 @@ labels["containerd.io/snapshot.ref"] = chainID
// snapshotter-specific information passed by the user.
opts := append(rCtx.SnapshotterOpts, snapshots.WithLabels(labels))
// Calls `Prepare` API with target indentifier and snapshotter-specific
// Calls `Prepare` API with target identifier and snapshotter-specific
// information.
mounts, err = sn.Prepare(ctx, key, parent.String(), opts...)
```