summaryrefslogtreecommitdiff
path: root/redfish-core
diff options
context:
space:
mode:
authorJames Feist <james.feist@linux.intel.com>2019-11-27 21:36:36 +0300
committerJames Feist <james.feist@linux.intel.com>2019-11-27 21:36:36 +0300
commitd819a420c04b4528c03ba749978338953868fff1 (patch)
tree3e1768e70ee7508197220155665db0808d95eaf5 /redfish-core
parente284a7c19bb93e28b4ff20fcd437b2f2b26f0a44 (diff)
downloadbmcweb-d819a420c04b4528c03ba749978338953868fff1.tar.xz
Remove error for empty subtree response
This interface doesn't have to exist Change-Id: If0ea4e3c201c80c25e825f64ba3601685ef9ed95 Signed-off-by: James Feist <james.feist@linux.intel.com>
Diffstat (limited to 'redfish-core')
-rw-r--r--redfish-core/lib/storage.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/storage.hpp b/redfish-core/lib/storage.hpp
index 856ef5e450..f918d662ff 100644
--- a/redfish-core/lib/storage.hpp
+++ b/redfish-core/lib/storage.hpp
@@ -134,7 +134,7 @@ class Storage : public Node
const crow::openbmc_mapper::GetSubTreeType &subtree) {
if (ec || !subtree.size())
{
- messages::internalError(asyncResp->res);
+ // doesn't have to be there
return;
}