Skip to content

Commit

Permalink
Don't recalculate which server was deletion ignored from in onAbsent,…
Browse files Browse the repository at this point in the history
… instead use locally available value.
  • Loading branch information
larry-safran committed Nov 1, 2024
1 parent b5d69d3 commit 5b28d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xds/src/main/java/io/grpc/xds/client/XdsClientImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ void onAbsent(@Nullable ProcessingTracker processingTracker) {
if (!resourceDeletionIgnored) {
logger.log(XdsLogLevel.FORCE_WARNING,
"xds server {0}: ignoring deletion for resource type {1} name {2}}",
getTarget(), type, resource);
activeCpc.getServerInfo().target(), type, resource);
resourceDeletionIgnored = true;
}
return;
Expand Down

0 comments on commit 5b28d7a

Please sign in to comment.