mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-25 21:39:10 +00:00
Fix creation of CSV parser in create-symlinks
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
196d5c5461
commit
ab7f25500f
@ -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