mirror of
				https://github.com/NVIDIA/nvidia-container-toolkit
				synced 2025-06-26 18:18:24 +00:00 
			
		
		
		
	Support management mode in nvidia-ctk cdi generate
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
		
							parent
							
								
									29cbbe83f9
								
							
						
					
					
						commit
						f7e817cff6
					
				| @ -129,6 +129,7 @@ func (m command) validateFlags(c *cli.Context, cfg *config) error { | |||||||
| 	case nvcdi.ModeAuto: | 	case nvcdi.ModeAuto: | ||||||
| 	case nvcdi.ModeNvml: | 	case nvcdi.ModeNvml: | ||||||
| 	case nvcdi.ModeWsl: | 	case nvcdi.ModeWsl: | ||||||
|  | 	case nvcdi.ModeManagement: | ||||||
| 	default: | 	default: | ||||||
| 		return fmt.Errorf("invalid discovery mode: %v", cfg.discoveryMode) | 		return fmt.Errorf("invalid discovery mode: %v", cfg.discoveryMode) | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user