Skip to content

Commit

Permalink
fix: error initializing dcgm
Browse files Browse the repository at this point in the history
Signed-off-by: Maryam Tahhan <[email protected]>
  • Loading branch information
maryamtahhan committed Sep 18, 2024
1 parent 600235f commit c20c23c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func newConfig() *Config {
Metrics: getMetricsConfig(),
Redfish: getRedfishConfig(),
Libvirt: getLibvirtConfig(),
DCGMHostEngineEndpoint: getConfig("DCGM_HOST_ENGINE_ENDPOINT", ""),
DCGMHostEngineEndpoint: getConfig("NVIDIA_HOSTENGINE_ENDPOINT", defaultDCGMHostEngineEndpoint),
KernelVersion: float32(0),
}
}
Expand Down
1 change: 1 addition & 0 deletions pkg/config/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,4 +103,5 @@ const (
defaultProcessPlatformPowerKey = "PROCESS_TOTAL"
defaultProcessComponentsPowerKey = "PROCESS_COMPONENTS"
DefaultMachineSpecFilePath = "/etc/kepler/models/machine/spec.json"
defaultDCGMHostEngineEndpoint = "localhost:5555"
)

0 comments on commit c20c23c

Please sign in to comment.