We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76ac812 commit 642b055Copy full SHA for 642b055
pkg/component/worker/kernelsetup_linux.go
@@ -45,7 +45,7 @@ func hasFilesystem(filesystem string) bool {
45
func modprobe(module string) {
46
out, err := exec.Command("modprobe", module).CombinedOutput()
47
if err != nil {
48
- 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)
49
}
50
51
0 commit comments