fix for bmcweb CI build failure
CI builds are failing due to formatting issue.
Below commit reverted the format to clang-6
from clang-10 and causing the failure.
https://gerrit.openbmc-project.xyz/#/c/openbmc/bmcweb/+/32702/
Tested:
Build success.
Signed-off-by: AppaRao Puli <apparao.puli@linux.intel.com>
Change-Id: Ic75f7baeed9ff1013df37575dc180fb1c7d196fc
diff --git a/http/http_client.hpp b/http/http_client.hpp
index 72784f2..caaaccb 100644
--- a/http/http_client.hpp
+++ b/http/http_client.hpp
@@ -245,14 +245,16 @@
case ConnState::closed:
case ConnState::connectFailed:
case ConnState::sendFailed:
- case ConnState::recvFailed: {
+ case ConnState::recvFailed:
+ {
// After establishing the connection, checkQueue() will
// get called and it will attempt to send data.
doConnect();
break;
}
case ConnState::connected:
- case ConnState::idle: {
+ case ConnState::idle:
+ {
std::string data = requestDataQueue.front();
sendMessage(data);
break;