diff options
author | Ed Tanous <ed.tanous@intel.com> | 2018-12-07 02:58:49 +0300 |
---|---|---|
committer | Ed Tanous <ed.tanous@intel.com> | 2018-12-07 02:58:49 +0300 |
commit | 5a8d034d2379618b7905512242f039a5de593537 (patch) | |
tree | 1e5d49907847ed3a1bf29a9f43abce7bc4473f8b | |
parent | 63c7908ddb4647c995f1cb0e121e6b313146ada9 (diff) | |
download | bmcweb-5a8d034d2379618b7905512242f039a5de593537.tar.xz |
bmcweb: Session member count is zero
A botched merge conflict caused issues with the session service, and
accidentally hardcoded the session info response to a size zero
structure. This resolves it.
Tested By:
Ran sessionService and observed sessions present
Change-Id: I1186f0416c099df5f39a9f894ccfcc20691ceb03
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
-rw-r--r-- | redfish-core/lib/redfish_sessions.hpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/redfish-core/lib/redfish_sessions.hpp b/redfish-core/lib/redfish_sessions.hpp index 5b69c1a66d..addb28701b 100644 --- a/redfish-core/lib/redfish_sessions.hpp +++ b/redfish-core/lib/redfish_sessions.hpp @@ -145,8 +145,6 @@ class SessionCollection : public Node "/redfish/v1/$metadata#SessionCollection.SessionCollection"; res.jsonValue["Name"] = "Session Collection"; res.jsonValue["Description"] = "Session Collection"; - res.jsonValue["Members@odata.count"] = 0; - res.jsonValue["Members"] = nlohmann::json::array(); res.end(); } |