Skip to content

all: fix typos in code comments - #14082

Merged
mxpv merged 1 commit into
containerd:mainfrom
MsfPablo:fix-comment-typos
Sep 1, 2026
Merged

mxpv merged 1 commit into
containerd:mainfrom
MsfPablo:fix-comment-typos

Conversation

@MsfPablo

@MsfPablo MsfPablo commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

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.

Signed-off-by: Pablo Garcia Caceres <[email protected]>
Copilot AI lite review requested due to automatic review settings September 1, 2026 14:55
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Sep 1, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Sep 1, 2026
@mxpv
mxpv added this pull request to the merge queue Sep 1, 2026
Merged via the queue into containerd:main with commit 4246446 Sep 1, 2026
134 of 141 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants