mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +00:00
Use getSearchPrefixes for all locators
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
@@ -34,7 +34,7 @@ func TestExecutableLocator(t *testing.T) {
|
||||
}{
|
||||
{
|
||||
root: "",
|
||||
expectedPrefixes: nil,
|
||||
expectedPrefixes: []string{""},
|
||||
},
|
||||
{
|
||||
root: "",
|
||||
@@ -48,7 +48,7 @@ func TestExecutableLocator(t *testing.T) {
|
||||
},
|
||||
{
|
||||
root: "/",
|
||||
expectedPrefixes: nil,
|
||||
expectedPrefixes: []string{"/"},
|
||||
},
|
||||
{
|
||||
root: "/",
|
||||
|
||||
Reference in New Issue
Block a user