From 7e5501f6a327c9267ab41f0d63ed98f4e61ef1b1 Mon Sep 17 00:00:00 2001 From: Evan Lezar Date: Wed, 7 Dec 2022 11:40:09 +0100 Subject: [PATCH] Skip DGX Display devices in addition to NVIDIA DGX Display devices Signed-off-by: Evan Lezar --- pkg/nvlib/device/api.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkg/nvlib/device/api.go b/pkg/nvlib/device/api.go index 7741915..cbbd4ae 100644 --- a/pkg/nvlib/device/api.go +++ b/pkg/nvlib/device/api.go @@ -51,7 +51,10 @@ func New(opts ...Option) Interface { d.nvml = nvml.New() } if d.skippedDevices == nil { - WithSkippedDevices("NVIDIA DGX Display")(d) + WithSkippedDevices( + "DGX Display", + "NVIDIA DGX Display", + )(d) } return d }