Skip to content

fix(content): handle virtualbox case where DMI Memory Devices are reported as [null]

Rob Hirschfeld requested to merge fix-inventory-scan-jq into v4

when testing a virtualbox VM, the DMI.Memory.Devices from jq came back as [null] this change allows the collect inventory jq to succeed in that edge case there were 2 issues:

  1. the null was breaking jq, protected with //[]
  2. the empty return was breaking the assignment, changed to //[]

should have no other impact.

Merge request reports