mirror of
https://github.com/XRPLF/clio.git
synced 2026-09-30 17:08:27 +00:00
Fix precommit
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "etl/LoadBalancer.hpp"
|
||||
|
||||
#include "data/BackendInterface.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/ETLState.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/InitialLoadObserverInterface.hpp"
|
||||
#include "etl/LoadBalancerInterface.hpp"
|
||||
#include "etl/NetworkValidatedLedgersInterface.hpp"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/InitialLoadObserverInterface.hpp"
|
||||
#include "etl/LoadBalancerInterface.hpp"
|
||||
#include "etl/NetworkValidatedLedgersInterface.hpp"
|
||||
#include "feed/SubscriptionManagerInterface.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
#include "util/config/ObjectView.hpp"
|
||||
|
||||
#include <boost/asio/io_context.hpp>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/InitialLoadObserverInterface.hpp"
|
||||
#include "etl/LoadBalancerInterface.hpp"
|
||||
#include "etl/Source.hpp"
|
||||
#include "etl/impl/ForwardingSource.hpp"
|
||||
#include "etl/impl/GrpcSource.hpp"
|
||||
#include "etl/impl/SubscriptionSource.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
|
||||
#include <boost/asio/spawn.hpp>
|
||||
#include <boost/json/object.hpp>
|
||||
|
||||
@@ -86,7 +86,9 @@ public:
|
||||
break;
|
||||
}
|
||||
} else if (std::get_if<rpc::EtlError>(&err.code) != nullptr) {
|
||||
ASSERT(false, "ETL error should not reach HTTP error handler"); // this should never happen
|
||||
ASSERT(
|
||||
false, "ETL error should not reach HTTP error handler"
|
||||
); // this should never happen
|
||||
} else {
|
||||
connection_->send(
|
||||
boost::json::serialize(composeError(err)),
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/InitialLoadObserverInterface.hpp"
|
||||
#include "etl/LoadBalancerInterface.hpp"
|
||||
#include "etl/NetworkValidatedLedgersInterface.hpp"
|
||||
#include "etl/Source.hpp"
|
||||
#include "feed/SubscriptionManagerInterface.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
#include "util/config/ObjectView.hpp"
|
||||
|
||||
#include <boost/asio/io_context.hpp>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#include "etl/impl/ForwardingSource.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/impl/ForwardingSource.hpp"
|
||||
#include "util/AsioContextTestFixture.hpp"
|
||||
#include "util/Spawn.hpp"
|
||||
#include "util/TestWsServer.hpp"
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/InitialLoadObserverInterface.hpp"
|
||||
#include "etl/LoadBalancer.hpp"
|
||||
#include "etl/LoadBalancerInterface.hpp"
|
||||
#include "etl/Models.hpp"
|
||||
#include "etl/Source.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
#include "rpc/Errors.hpp"
|
||||
#include "util/AsioContextTestFixture.hpp"
|
||||
#include "util/MockBackendTestFixture.hpp"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#include "etl/Errors.hpp"
|
||||
#include "etl/InitialLoadObserverInterface.hpp"
|
||||
#include "etl/LoadBalancerInterface.hpp"
|
||||
#include "etl/Models.hpp"
|
||||
#include "etl/impl/SourceImpl.hpp"
|
||||
#include "etl/Errors.hpp"
|
||||
#include "rpc/Errors.hpp"
|
||||
#include "util/Spawn.hpp"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user