commit | 7a93d516522f58b887a05cc93ff27a6674601e5f | [log] [tgz] |
---|---|---|
author | Myung Bae <myungbae@us.ibm.com> | Fri Sep 13 14:23:19 2024 -0400 |
committer | Myung Bae <myungbae@us.ibm.com> | Sun Sep 15 16:28:56 2024 -0400 |
tree | ff6037cdf701a1ef1d16b0bffe7f823ff19d7d4c | |
parent | c363323e7ee9e42817922346b1f1ce6adc872d1b [diff] |
Return empty paths if no SubTreePathsById is found `getAssociatedSubTreePaths()` returns the empty paths if there are no associated subtrees, and bmcweb uses it to differentiate from the error. However, `getAssociatedSubTreePathsById()` (which is introduced by [1]) returns NotFound error for the case. It would be more appropriate to match its behavior with `getAssociatedSubTreePaths()`. Tested: - unit-test is succeeded for good and bad cases [1] https://gerrit.openbmc.org/c/openbmc/phosphor-objmgr/+/70699 Change-Id: I84680b1b39ba8ade94ea6fdb7dae280505e5c050 Signed-off-by: Myung Bae <myungbae@us.ibm.com>
This repository contains the mapper, which assists in finding things on D-Bus. There is documentation about it here.
Non-OpenBMC build dependencies are:
meson build && ninja -C build
meson build && ninja -C build test
rm -rf build