collector/redfish: dedupe model-only GPU rows from graphics controllers
This commit is contained in:
1 parent
6c19a58b24
commit
b918363252
3 files changed
+86
No files matched your search
@@ -904,6 +904,9 @@ func (r redfishSnapshotReader) collectGPUs(systemPaths, chassisPaths []string) [
|
||||
}
|
||||
gpu := parseGPU(doc, functionDocs, idx)
|
||||
idx++
|
||||
if shouldSkipGenericGPUDuplicate(out, gpu) {
|
||||
continue
|
||||
}
|
||||
key := gpuDedupKey(gpu)
|
||||
if key == "" {
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user