mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2025-06-26 18:18:24 +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
|
mode string
|
||||||
hookFilePath string
|
hookFilePath string
|
||||||
|
|
||||||
runtimeConfigOverrideJSON string
|
|
||||||
|
|
||||||
nvidiaRuntime struct {
|
nvidiaRuntime struct {
|
||||||
name string
|
name string
|
||||||
path string
|
path string
|
||||||
@ -219,11 +217,6 @@ func (m command) validateFlags(c *cli.Context, config *config) error {
|
|||||||
config.executablePath = ""
|
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 {
|
switch config.configSource {
|
||||||
case configSourceCommand:
|
case configSourceCommand:
|
||||||
if config.runtime == "docker" {
|
if config.runtime == "docker" {
|
||||||
|
Loading…
Reference in New Issue
Block a user