diff --git a/internal/config/config.go b/internal/config/config.go index 9f4f16f3..648dee5e 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -95,7 +95,7 @@ func getDefaultConfig() *Config { c := Config{ NVIDIAContainerCLIConfig: *getDefaultContainerCLIConfig(), NVIDIACTKConfig: *getDefaultCTKConfig(), - NVIDIAContainerRuntimeConfig: *getDefaultRuntimeConfig(), + NVIDIAContainerRuntimeConfig: *GetDefaultRuntimeConfig(), } return &c diff --git a/internal/config/runtime.go b/internal/config/runtime.go index 9ae8de48..7486e9e9 100644 --- a/internal/config/runtime.go +++ b/internal/config/runtime.go @@ -29,7 +29,7 @@ type RuntimeConfig struct { // getRuntimeConfigFrom reads the nvidia container runtime config from the specified toml Tree. func getRuntimeConfigFrom(toml *toml.Tree) *RuntimeConfig { - cfg := getDefaultRuntimeConfig() + cfg := GetDefaultRuntimeConfig() if toml == nil { return cfg @@ -42,8 +42,8 @@ func getRuntimeConfigFrom(toml *toml.Tree) *RuntimeConfig { return cfg } -// getDefaultRuntimeConfig defines the default values for the config -func getDefaultRuntimeConfig() *RuntimeConfig { +// GetDefaultRuntimeConfig defines the default values for the config +func GetDefaultRuntimeConfig() *RuntimeConfig { c := RuntimeConfig{ DebugFilePath: "/dev/null", Experimental: false,