Skip to content

Commit

Permalink
koordlet: fix metric record err (koordinator-sh#1868)
Browse files Browse the repository at this point in the history
Signed-off-by: acejilam <acejilam@gmail.com>
  • Loading branch information
ls-2018 committed Feb 26, 2024
1 parent b69eddc commit 5ea3b18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (n *nodeResourceCollector) collectNodeResUsed() {
nodeMetrics = append(nodeMetrics, metric...)
}
if info := deviceCollector.Infos(); info != nil {
n.metricDB.Set(koordletutil.GPUDeviceType, info)
n.metricDB.Set(info.Type(), info)
}
}

Expand Down

0 comments on commit 5ea3b18

Please sign in to comment.