Skip to content

Commit 075c741

Browse files
committed
[no-relnote] Add comment on containerSpec option
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 4372ea6 commit 075c741

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

cmd/nvidia-cdi-hook/cudacompat/cudacompat.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ type command struct {
4545

4646
type options struct {
4747
hostDriverVersion string
48-
containerSpec string
48+
// containerSpec allows the path to the container spec to be specified for
49+
// testing.
50+
containerSpec string
4951
}
5052

5153
// NewCommand constructs a cuda-compat command with the specified logger

0 commit comments

Comments
 (0)