Skip to content

Commit

Permalink
fix log format string
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Wieczorek <[email protected]>
Signed-off-by: Ethan Mosbaugh <[email protected]>
Signed-off-by: Ethan Mosbaugh <[email protected]>
(cherry picked from commit 642b055)
  • Loading branch information
emosbaugh authored and github-actions[bot] committed Feb 17, 2025
1 parent 017c2d2 commit 270df9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/component/worker/kernelsetup_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ func hasFilesystem(filesystem string) bool {
func modprobe(module string) {
out, err := exec.Command("modprobe", module).CombinedOutput()
if err != nil {
logrus.Warnf("failed to load %s kernel module: %s, out=%q", module, err.Error(), string(out))
logrus.WithError(err).Warnf("failed to load kernel module %s: %s", module, out)
}
}

Expand Down

0 comments on commit 270df9e

Please sign in to comment.