docs: Various typo found by codespell
Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
@@ -34,7 +34,7 @@ settings.
|
||||
|
||||
**imports**
|
||||
: Imports is a list of additional configuration files to include.
|
||||
This allows to split the main configuration file and keep some sections
|
||||
This allows one to split the main configuration file and keep some sections
|
||||
separately (for example vendors may keep a custom runtime configuration in a
|
||||
separate file without modifying the main `config.toml`).
|
||||
Imported files will overwrite simple fields like `int` or
|
||||
|
||||
@@ -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...)
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user