Skip to content

Commit d4c19c0

Browse files
cdesiniotissoharaa
authored andcommitted
chore: fix issues raised by govet and gocritic
Signed-off-by: Christopher Desiniotis <[email protected]> (cherry picked from commit 1f6aeb5)
1 parent 3c808b9 commit d4c19c0

File tree

4 files changed

+1
-3
lines changed

4 files changed

+1
-3
lines changed

cmd/nvidia-cdi-hook/disable-device-node-modification/params_other.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux
2-
// +build !linux
32

43
/**
54
# SPDX-FileCopyrightText: Copyright (c) 2025 NVIDIA CORPORATION & AFFILIATES. All rights reserved.

cmd/nvidia-ctk-installer/container/runtime/containerd/containerd_other.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux
2-
// +build !linux
32

43
/**
54
# Copyright 2023 NVIDIA CORPORATION

cmd/nvidia-ctk-installer/container/runtime/docker/docker_other.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
//go:build !linux
2-
// +build !linux
32

43
/**
54
# Copyright 2023 NVIDIA CORPORATION

internal/discover/hooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ const (
3131
AllHooks = HookName("all")
3232

3333
// A ChmodHook is used to set the file mode of the specified paths.
34+
//
3435
// Deprecated: The chmod hook is deprecated and will be removed in a future release.
3536
ChmodHook = HookName("chmod")
3637
// A CreateSymlinksHook is used to create symlinks in the container.

0 commit comments

Comments
 (0)