Repository navigation
plugins: remove some stray logrus imports - #14057
Conversation
Signed-off-by: Sebastiaan van Stijn <[email protected]>
There was a problem hiding this comment.
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/logrusimports from the affected Windows plugin files. - Replaced
logrus.Fieldsusages withlog.Fields(and simplified one call site toWithField).
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.
|
/cherry-pick release/2.3 |
|
@thaJeztah: once the present PR merges, I will cherry-pick it on top of DetailsIn response to this:
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. |
|
@thaJeztah: new pull request created: #14063 DetailsIn response to this:
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. |
No description provided.