mirror of
				https://github.com/NVIDIA/nvidia-container-toolkit
				synced 2025-06-26 18:18:24 +00:00 
			
		
		
		
	FIX: Remove unused NewFromCSV constructor
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
		
							parent
							
								
									2f2846116e
								
							
						
					
					
						commit
						df7c064257
					
				| @ -32,17 +32,6 @@ type csvDiscoverer struct { | ||||
| 
 | ||||
| var _ Discover = (*csvDiscoverer)(nil) | ||||
| 
 | ||||
| // NewFromCSV creates a discoverer for the CSV files at the specified root. A logger is also supplied.
 | ||||
| func NewFromCSV(logger *logrus.Logger, csvRoot string, root string) (Discover, error) { | ||||
| 	logger.Debugf("Loading CSV files from: %v", csvRoot) | ||||
| 
 | ||||
| 	files, err := csv.GetFileList(csvRoot) | ||||
| 	if err != nil { | ||||
| 		return nil, fmt.Errorf("failed to get CSV file from %v: %v", csvRoot, err) | ||||
| 	} | ||||
| 	return NewFromCSVFiles(logger, files, root) | ||||
| } | ||||
| 
 | ||||
| // NewFromCSVFiles creates a discoverer for the specified CSV files. A logger is also supplied.
 | ||||
| // The constructed discoverer is comprised of a list, with each element in the list being associated with a
 | ||||
| // single CSV files.
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user