summaryrefslogtreecommitdiff
path: root/redfish-core/include/redfish_aggregator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/redfish_aggregator.hpp')
-rw-r--r--redfish-core/include/redfish_aggregator.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/redfish-core/include/redfish_aggregator.hpp b/redfish-core/include/redfish_aggregator.hpp
index 9168cc5ec5..896eb4aac5 100644
--- a/redfish-core/include/redfish_aggregator.hpp
+++ b/redfish-core/include/redfish_aggregator.hpp
@@ -815,8 +815,8 @@ class RedfishAggregator
if (boost::iequals(contentType, "application/json") ||
boost::iequals(contentType, "application/json; charset=utf-8"))
{
- nlohmann::json jsonVal =
- nlohmann::json::parse(resp.body(), nullptr, false);
+ nlohmann::json jsonVal = nlohmann::json::parse(resp.body(), nullptr,
+ false);
if (jsonVal.is_discarded())
{
BMCWEB_LOG_ERROR << "Error parsing satellite response as JSON";
@@ -879,8 +879,8 @@ class RedfishAggregator
if (boost::iequals(contentType, "application/json") ||
boost::iequals(contentType, "application/json; charset=utf-8"))
{
- nlohmann::json jsonVal =
- nlohmann::json::parse(resp.body(), nullptr, false);
+ nlohmann::json jsonVal = nlohmann::json::parse(resp.body(), nullptr,
+ false);
if (jsonVal.is_discarded())
{
BMCWEB_LOG_ERROR << "Error parsing satellite response as JSON";
@@ -1013,8 +1013,8 @@ class RedfishAggregator
boost::iequals(contentType, "application/json; charset=utf-8"))
{
bool addedLinks = false;
- nlohmann::json jsonVal =
- nlohmann::json::parse(resp.body(), nullptr, false);
+ nlohmann::json jsonVal = nlohmann::json::parse(resp.body(), nullptr,
+ false);
if (jsonVal.is_discarded())
{
BMCWEB_LOG_ERROR << "Error parsing satellite response as JSON";