Skip to content

plugins: remove some stray logrus imports - #14057

Merged
fuweid merged 1 commit into
containerd:mainfrom
thaJeztah:rm_stray_logrus_imports
Aug 28, 2026
Merged

fuweid merged 1 commit into
containerd:mainfrom
thaJeztah:rm_stray_logrus_imports

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Sebastiaan van Stijn <[email protected]>
@thaJeztah thaJeztah added this to the 2.4 milestone Aug 27, 2026
Copilot AI lite review requested due to automatic review settings August 27, 2026 20:46
@thaJeztah thaJeztah added the cherry-pick/2.3.x Change to be cherry picked to release/2.3 label Aug 27, 2026
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Aug 27, 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 removes direct logrus dependencies from Windows CimFS-related plugins, aligning these packages with containerd’s transitional github.com/containerd/log wrapper types.

Changes:

  • Dropped unused github.com/sirupsen/logrus imports from the affected Windows plugin files.
  • Replaced logrus.Fields usages with log.Fields (and simplified one call site to WithField).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
plugins/snapshots/windows/block_cimfs.go Switches structured logging field maps from logrus.Fields to log.Fields and removes the stray logrus import.
plugins/diff/windows/cimfs.go Removes logrus import and updates logging to use log.Fields / WithField; minor var declaration simplification.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@thaJeztah

Copy link
Copy Markdown
Member Author

/cherry-pick release/2.3

@k8s-infra-cherrypick-robot

Copy link
Copy Markdown

@thaJeztah: once the present PR merges, I will cherry-pick it on top of release/2.3 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick release/2.3

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Aug 28, 2026
@fuweid
fuweid added this pull request to the merge queue Aug 28, 2026
Merged via the queue into containerd:main with commit 1335870 Aug 28, 2026
139 of 141 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Aug 28, 2026
@k8s-infra-cherrypick-robot

Copy link
Copy Markdown

@thaJeztah: new pull request created: #14063

Details

In response to this:

/cherry-pick release/2.3

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick/2.3.x Change to be cherry picked to release/2.3 size/S

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants