mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
[no-relnote] Fix lint error in test
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
852a7a62a5
commit
6d7dd04824
@ -100,7 +100,7 @@ func TestMounts(t *testing.T) {
|
|||||||
lookup: &lookup.LocatorMock{
|
lookup: &lookup.LocatorMock{
|
||||||
LocateFunc: func(s string) ([]string, error) {
|
LocateFunc: func(s string) ([]string, error) {
|
||||||
if s == "error" {
|
if s == "error" {
|
||||||
return nil, fmt.Errorf(s)
|
return nil, fmt.Errorf("error")
|
||||||
}
|
}
|
||||||
return []string{s}, nil
|
return []string{s}, nil
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user