bmcweb: Fix Processor collection effiecent expand

Efficient expand on Processor Collection would return internal error if
GetSubTree response returned empty for processor interfaces and there
are no services to pull processor information from.
The fix here ensures that we return the response with Member count 0
when there are no processors.

Tested: Fabric BMC 0 processors - https://paste.googleplex.com/4639265592967168
 Izumi BMC Multiple processors -  https://paste.googleplex.com/6490857267003392

Google-Bug-Id: 283903536
Change-Id: I54999505dcdba42f39114859bedb8e10bdcec982
Signed-off-by: Rahul Kapoor <rahulkpr@google.com>
1 file changed
tree: 7f9e30236dddba5f0b10d44b3b006768cff3c92a
  1. conf/
  2. dynamic-layers/
  3. meta-nuvoton-npcm8xx/
  4. recipes-connectivity/
  5. recipes-core/
  6. recipes-devtools/
  7. recipes-extended/
  8. recipes-google/
  9. recipes-kernel/
  10. recipes-phosphor/
  11. LICENSE
  12. README.md
README.md

meta-gbmc-staging

This repository contains additions to the openbmc/meta-google layer that are not yet ready for OpenBMC inclusion.

How to use this layer

  1. Clone openbmc/openbmc from GitHub.
  2. Clone this layer from GitHub into a subdirectory of openbmc.