Skip to content

Commit 4f6e36a

Browse files
committed
clang-format
1 parent a2179fc commit 4f6e36a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/core/xds/xds_client/xds_client.cc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,9 +1008,8 @@ void XdsClient::XdsChannel::AdsCall::ParseResource(
10081008
if (!decode_status.ok()) {
10091009
// If the fail_on_data_errors server feature is present, drop the
10101010
// existing cached resource, if any.
1011-
const bool drop_cached_resource =
1012-
XdsDataErrorHandlingEnabled() &&
1013-
xds_channel()->server_.FailOnDataErrors();
1011+
const bool drop_cached_resource = XdsDataErrorHandlingEnabled() &&
1012+
xds_channel()->server_.FailOnDataErrors();
10141013
resource_state.SetNacked(context->version, decode_status.ToString(),
10151014
context->update_time_, drop_cached_resource);
10161015
++context->num_invalid_resources;
@@ -1331,9 +1330,10 @@ void XdsClient::ResourceState::SetAcked(
13311330
failed_details_.clear();
13321331
}
13331332

1334-
void XdsClient::ResourceState::SetNacked(
1335-
const std::string& version, const std::string& details,
1336-
Timestamp update_time, bool drop_cached_resource) {
1333+
void XdsClient::ResourceState::SetNacked(const std::string& version,
1334+
const std::string& details,
1335+
Timestamp update_time,
1336+
bool drop_cached_resource) {
13371337
if (drop_cached_resource) resource_.reset();
13381338
client_status_ = ClientResourceStatus::NACKED;
13391339
failed_version_ = version;

0 commit comments

Comments
 (0)