feat(hpe): improve inventory extraction and export fidelity
This commit is contained in:
1 parent
d8c3256e41
commit
c47c34fd11
12 files changed
+989
-59
No files matched your search
@@ -81,7 +81,7 @@ func BuildHardwareDevices(hw *models.HardwareConfig) []models.HardwareDevice {
|
||||
}
|
||||
|
||||
for _, mem := range hw.Memory {
|
||||
if !mem.Present || mem.SizeMB == 0 {
|
||||
if !mem.IsInstalledInventory() {
|
||||
continue
|
||||
}
|
||||
present := mem.Present
|
||||
|
||||
Reference in new issue
Block a user