summaryrefslogtreecommitdiff
path: root/redfish-core/src
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2019-09-17 02:41:22 +0300
committerEd Tanous <ed.tanous@intel.com>2019-09-18 23:08:20 +0300
commitc21055aa7ad7f252e663535ec36b56a29bf0eb6a (patch)
tree2bb4f353a3a4de76d9b9d3f7149ccb646bc7d54f /redfish-core/src
parent88e097c4cfa1172504d802e9f6b327f095f2748e (diff)
downloadbmcweb-c21055aa7ad7f252e663535ec36b56a29bf0eb6a.tar.xz
Remove a lame clang-format off
Code was tabbed into the wrong spot as a result of shutting clang-format off for a dubious reason. Turn it back on. Tested: It builds. Only whitespace changes present Signed-off-by: Ed Tanous <ed.tanous@intel.com> Change-Id: I08b294ca5ea076f8cb5680b801b507127e091824
Diffstat (limited to 'redfish-core/src')
-rw-r--r--redfish-core/src/error_messages.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/redfish-core/src/error_messages.cpp b/redfish-core/src/error_messages.cpp
index 51871bf01a..ca998705f9 100644
--- a/redfish-core/src/error_messages.cpp
+++ b/redfish-core/src/error_messages.cpp
@@ -47,12 +47,8 @@ static void addMessageToErrorJson(nlohmann::json& target,
<< "Attempt to add error message without Message";
return;
}
- // clang-format off
- error = {
- {"code", *messageIdIterator},
- {"message", *messageFieldIterator}
- };
- // clang-format on
+ error = {{"code", *messageIdIterator},
+ {"message", *messageFieldIterator}};
}
else
{