diff --git a/internal/pkg/platform/platform_matcher.go b/internal/pkg/platform/platform_matcher.go index 30da87f97a..94002d6d47 100644 --- a/internal/pkg/platform/platform_matcher.go +++ b/internal/pkg/platform/platform_matcher.go @@ -83,7 +83,7 @@ func getCPUVariantWindows(arch string) string { func getCPUVariantArm() string { variant, err := getCPUInfo("Cpu architecture") if err != nil { - logrus.Errorf("Couldn't get cpu architecture: %w", err) + logrus.Errorf("Couldn't get cpu architecture: %v", err) return "" } @@ -99,7 +99,7 @@ func getCPUVariantArm() string { // https://github.com/moby/moby/pull/36121#issuecomment-398328286 model, err := getCPUInfo("model name") if err != nil { - logrus.Errorf("Couldn't get cpu model name, it may be the corner case where variant is 6: %w", err) + logrus.Errorf("Couldn't get cpu model name, it may be the corner case where variant is 6: %v", err) return "" } // model name is NOT a value provided by the CPU; it is another outcome of Linux CPU detection,