diff options
author | Myung Bae <myungbae@us.ibm.com> | 2023-12-19 18:50:32 +0300 |
---|---|---|
committer | Myung Bae <myungbae@us.ibm.com> | 2023-12-21 18:28:40 +0300 |
commit | c48377db9e745fe5169b58cf2812ff306c30057a (patch) | |
tree | 80448d5694bbb385962bbc61c14d269198b041d3 /redfish-core | |
parent | 70c4d545817d83819f7f0cd571e0160bacb51d11 (diff) | |
download | bmcweb-c48377db9e745fe5169b58cf2812ff306c30057a.tar.xz |
Fix typo in collection.hpp
Commit https://gerrit.openbmc.org/c/openbmc/bmcweb/+/64087 has a typo
in redfish-core/include/utils/collection.hpp
```
L33:
jsonCountKeyName /= back + "@data.count";
-->
jsonCountKeyName /= back + "@odata.count";
```
Tested:
- Validator passes
Change-Id: Ied52944bd43ec5080c4eef141813674bab1cc0b4
Signed-off-by: Myung Bae <myungbae@us.ibm.com>
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/include/utils/collection.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/utils/collection.hpp b/redfish-core/include/utils/collection.hpp index 79e4fc0ee1..2e5563b4c9 100644 --- a/redfish-core/include/utils/collection.hpp +++ b/redfish-core/include/utils/collection.hpp @@ -30,7 +30,7 @@ inline void handleCollectionMembers( nlohmann::json::json_pointer jsonCountKeyName = jsonKeyName; std::string back = jsonCountKeyName.back(); jsonCountKeyName.pop_back(); - jsonCountKeyName /= back + "@data.count"; + jsonCountKeyName /= back + "@odata.count"; if (ec == boost::system::errc::io_error) { |