Fix creation of CSV parser in create-symlinks

Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
Evan Lezar 2022-04-08 11:36:48 +02:00
parent 196d5c5461
commit ab7f25500f

View File

@ -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