Skip to content

Commit 17da5f0

Browse files
committed
fix format
Signed-off-by: He Jie Xu <hejie.xu@intel.com>
1 parent 8e639ec commit 17da5f0

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

source/common/http/filter_manager.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,9 @@ class OverridableRemoteSocketAddressSetterStreamInfo : public StreamInfo::Stream
603603
}
604604

605605
// StreamInfo::StreamInfo
606-
const Network::ConnectionInfoProvider& downstreamAddressProvider() const override { return *this; }
606+
const Network::ConnectionInfoProvider& downstreamAddressProvider() const override {
607+
return *this;
608+
}
607609

608610
// Network::ConnectionInfoProvider
609611
const Network::Address::InstanceConstSharedPtr& localAddress() const override {

source/server/active_udp_listener.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ ActiveRawUdpListener::ActiveRawUdpListener(uint32_t worker_index, uint32_t concu
7979
: ActiveRawUdpListener(worker_index, concurrency, parent, *listen_socket_ptr, listen_socket_ptr,
8080
dispatcher, config) {}
8181

82-
ActiveRawUdpListener:: ActiveRawUdpListener(uint32_t worker_index, uint32_t concurrency,
82+
ActiveRawUdpListener::ActiveRawUdpListener(uint32_t worker_index, uint32_t concurrency,
8383
Network::UdpConnectionHandler& parent,
8484
Network::Socket& listen_socket,
8585
Network::SocketSharedPtr listen_socket_ptr,

test/mocks/network/connection.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ class MockConnectionBase {
6565
MOCK_METHOD(void, readDisable, (bool disable)); \
6666
MOCK_METHOD(void, detectEarlyCloseWhenReadDisabled, (bool)); \
6767
MOCK_METHOD(bool, readEnabled, (), (const)); \
68-
MOCK_METHOD(const ConnectionInfoProvider&, addressProvider, (), (const)); \
69-
MOCK_METHOD(ConnectionInfoProviderSharedPtr, addressProviderSharedPtr, (), (const)); \
68+
MOCK_METHOD(const ConnectionInfoProvider&, addressProvider, (), (const)); \
69+
MOCK_METHOD(ConnectionInfoProviderSharedPtr, addressProviderSharedPtr, (), (const)); \
7070
MOCK_METHOD(absl::optional<Connection::UnixDomainSocketPeerCredentials>, \
7171
unixSocketPeerCredentials, (), (const)); \
7272
MOCK_METHOD(void, setConnectionStats, (const ConnectionStats& stats)); \

0 commit comments

Comments
 (0)