mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-04-07 22:14:08 +00:00
[no-relnote] Remove unused runtimeConfigOverideJSON variable
Some checks are pending
Some checks are pending
Signed-off-by: Evan Lezar <elezar@nvidia.com>
This commit is contained in:
parent
3a13747e10
commit
ae385428c0
@ -73,8 +73,6 @@ type config struct {
|
||||
mode string
|
||||
hookFilePath string
|
||||
|
||||
runtimeConfigOverrideJSON string
|
||||
|
||||
nvidiaRuntime struct {
|
||||
name string
|
||||
path string
|
||||
@ -219,11 +217,6 @@ func (m command) validateFlags(c *cli.Context, config *config) error {
|
||||
config.executablePath = ""
|
||||
}
|
||||
|
||||
if config.runtimeConfigOverrideJSON != "" && config.runtime != "containerd" {
|
||||
m.logger.Warningf("Ignoring runtime-config-override flag for %v", config.runtime)
|
||||
config.runtimeConfigOverrideJSON = ""
|
||||
}
|
||||
|
||||
switch config.configSource {
|
||||
case configSourceCommand:
|
||||
if config.runtime == "docker" {
|
||||
|
Loading…
Reference in New Issue
Block a user