mapper: Don't stop after first GetAncestors result

After the first result was found, the code was breaking
out instead of continuing to look for other services that
also satisified the operation.  This made it so a path
would never contain results for more than 1 service.

To fix, simply remove the break statement.

Tested: Call GetAncestors on a path with an ancestor that
        has multiple services and ensure they all are now
        returned.

Change-Id: I6a29b7087d4e5e9763510797e0914c2f8e160495
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
1 file changed
tree: 0b2fcbd6e2982ab4f8fb393d949fffaf118ead8e
  1. fail-monitor/
  2. libmapper/
  3. obmc/
  4. src/
  5. .clang-format
  6. .gitignore
  7. bootstrap.sh
  8. configure.ac
  9. LICENSE
  10. MAINTAINERS
  11. Makefile.am
  12. phosphor-mapper
  13. README.md
  14. setup.cfg
  15. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.