Repository navigation
all: fix typos in code comments - #14082
Merged
Merged
Conversation
Signed-off-by: Pablo Garcia Caceres <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR performs comment-only typo corrections across several containerd components (CRI, metadata, mount manager, snapshotters, streaming), including a broken GoDoc link fix, with no intended functional behavior changes.
Changes:
- Corrects multiple spelling errors in code comments across core, internal, and plugins packages.
- Fixes a broken GoDoc reference in
internal/randutil([cyrpto/rand]→[crypto/rand]). - Improves readability of several comments (e.g., “every time”, “sequentially”, “therefore”).
Reviewed changes
Copilot reviewed 10 out of 12 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| plugins/snapshots/windows/common.go | Fixes typo in snapshotter base-type comment (“implement”). |
| plugins/services/streaming/service.go | Fixes “everytime” typo in init-time marshaling comment. |
| plugins/cri/runtime/plugin.go | Fixes typo in klog initialization TODO comment. |
| internal/randutil/randutil.go | Fixes GoDoc link to crypto/rand. |
| internal/cri/server/sandbox_stats_windows.go | Fixes “therefor” typo in HostProcess stats comments. |
| internal/cri/server/helpers.go | Fixes multiple typos in TODO and helper doc comment. |
| internal/cri/server/container_image_mount_linux.go | Fixes “sequencially” typo in kubelet sequencing note. |
| internal/cri/io/streaming.go | Fixes “everytime” typo in streaming client creation comment. |
| internal/cleanup/context.go | Fixes package comment typo (“utilities”). |
| core/mount/manager/manager_test.go | Fixes typo in TestGC comment (“collection”). |
| core/metadata/gc.go | Fixes typo in GC comment (“referenced”). |
| core/metadata/db.go | Fixes typo in schema evolution comment (“evolve”). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
estesp
approved these changes
Sep 1, 2026
mxpv
approved these changes
Sep 1, 2026
This was referenced Sep 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Comment-only typo fixes found with codespell. No functional changes.
envolve->evolve,refenced->referenced(core/metadata)collecion->collection(core/mount/manager)utilies->utilities(internal/cleanup)everytime->every time(internal/cri/io, plugins/services/streaming)sequencially->sequentially(internal/cri/server)functinal->functional,copys->copies,contraints->constraints(internal/cri/server/helpers.go)therefor->therefore(internal/cri/server/sandbox_stats_windows.go)[cyrpto/rand]->[crypto/rand](internal/randutil, also fixes the broken godoc link)inititialization->initialization(plugins/cri/runtime)impelement->implement(plugins/snapshots/windows)Identifiers and string literals were left untouched.