From fc0a785ed1ed08b0383ec670ff8128a82b30cc74 Mon Sep 17 00:00:00 2001 From: Christopher Desiniotis Date: Thu, 21 May 2026 09:32:22 -0700 Subject: [PATCH 1/2] [no-relnote] fix lint issue in create-symlinks hook Signed-off-by: Christopher Desiniotis --- cmd/nvidia-cdi-hook/create-symlinks/create-symlinks.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/nvidia-cdi-hook/create-symlinks/create-symlinks.go b/cmd/nvidia-cdi-hook/create-symlinks/create-symlinks.go index ea81d5a2c..31553b3f2 100644 --- a/cmd/nvidia-cdi-hook/create-symlinks/create-symlinks.go +++ b/cmd/nvidia-cdi-hook/create-symlinks/create-symlinks.go @@ -133,8 +133,6 @@ func (m command) createLink(containerRootDir string, targetPath string, link str } return m.createSymlinkInRoot(containerRootDir, targetPath, link) - - return nil } // linkExists checks whether the specified link exists. From e81f9c1fd8aad35bbaddd1e66917e7ac0d443d3a Mon Sep 17 00:00:00 2001 From: Christopher Desiniotis Date: Thu, 21 May 2026 09:36:08 -0700 Subject: [PATCH 2/2] [no-relnote] fix out-of-sync go.mod Signed-off-by: Christopher Desiniotis --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 9dc970eea..541dc3ff0 100644 --- a/go.mod +++ b/go.mod @@ -6,6 +6,7 @@ require ( github.com/NVIDIA/go-nvlib v0.9.1-0.20251202135446-d0f42ba016dd github.com/NVIDIA/go-nvml v0.13.0-1.0.20260212130905-92cf8c963449 github.com/containerd/nri v0.11.0 + github.com/cyphar/filepath-securejoin v0.6.1 github.com/google/uuid v1.6.0 github.com/moby/sys/mountinfo v0.7.2 github.com/moby/sys/reexec v0.1.0 @@ -29,7 +30,6 @@ require ( cyphar.com/go-pathrs v0.2.1 // indirect github.com/containerd/log v0.1.0 // indirect github.com/containerd/ttrpc v1.2.7 // indirect - github.com/cyphar/filepath-securejoin v0.6.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect