From 812ffb758513b4882eb4400da8bf0eebf2396dfc Mon Sep 17 00:00:00 2001 From: Arsen Yeremin Date: Thu, 14 Nov 2024 09:02:35 -0800 Subject: [PATCH] disable warning message for gpu info --- pkg/system/gpu.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/system/gpu.go b/pkg/system/gpu.go index b35bd5f6..02eeb566 100644 --- a/pkg/system/gpu.go +++ b/pkg/system/gpu.go @@ -6,7 +6,7 @@ import ( ) func GetGPUInfo() []string { - gpu, err := ghw.GPU() + gpu, err := ghw.GPU(ghw.WithDisableWarnings()) if err != nil { log.Warn().Msgf("failed to get GPU info: %s", err) }