Fix precommit

This commit is contained in:
Alex Kremer
2026-08-12 14:26:01 +01:00
parent e31d7b530c
commit aef5b353a2
8 changed files with 10 additions and 8 deletions

View File

@@ -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"

View File

@@ -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>

View File

@@ -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>

View File

@@ -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)),

View File

@@ -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>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"