mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-29 07:21:46 +00:00
Fix creation of CSV parser in create-symlinks
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
1ebd48dea6
commit
7ec3cd0b5b
@ -103,7 +103,7 @@ func (m command) run(c *cli.Context, cfg *config) error {
|
|||||||
|
|
||||||
var candidates []string
|
var candidates []string
|
||||||
for _, file := range csvFiles {
|
for _, file := range csvFiles {
|
||||||
mountSpecs, err := csv.ParseFile(m.logger, file)
|
mountSpecs, err := csv.NewCSVFileParser(m.logger, file).Parse()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
m.logger.Debugf("Skipping CSV file %v: %v", file, err)
|
m.logger.Debugf("Skipping CSV file %v: %v", file, err)
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user