From 977c3d98a435a47c5ea55bd7dbb81e1e40c43611 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Fri, 13 Sep 2024 15:33:25 +0200 Subject: [PATCH] pkg/nvidia: Tweak a debug log to avoid an abbreviation It's better to avoid abbreviations when the length of the string and the depth of the indentation are favourable. https://github.com/containers/toolbox/pull/1541 --- src/pkg/nvidia/nvidia.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pkg/nvidia/nvidia.go b/src/pkg/nvidia/nvidia.go index 9b6ba75..16daf2f 100644 --- a/src/pkg/nvidia/nvidia.go +++ b/src/pkg/nvidia/nvidia.go @@ -61,7 +61,8 @@ func GenerateCDISpec() (*specs.Spec, error) { hasNvml, reason := info.HasNvml() if !hasNvml { - logrus.Debugf("Generating Container Device Interface for NVIDIA: NVML not found: %s", reason) + logrus.Debugf("Generating Container Device Interface for NVIDIA: Management Library not found: %s", + reason) } isTegra, reason := info.IsTegraSystem()