commit | 6a39e8c727efb53b5902904d932c6308eb7f393e | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Nov 13 11:11:36 2018 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Mon Nov 26 21:17:51 2018 +0000 |
tree | 912030a2f801bc1a75e471e8f0f7b75817bbba96 | |
parent | 06e5d2fe297d15ac261a9452a3674a946b36c7ff [diff] |
mapper: Don't fail on some empty results To preserve the behavior of the original mapper, don't fail the GetSubTree, GetSubTreePaths, and GetAncestors calls if the results are empty, instead only fail if the passed in object path isn't valid. This is particularly important to preserve the REST API that requires this different behavior between empty results and bad paths. Change-Id: I7e808a5613ed66cba4ea1a179a880e5c3f597f2a Signed-off-by: Matt Spinler <spinler@us.ibm.com>