aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/channel
diff options
context:
space:
mode:
authorGravatar Craig Tiller <craig.tiller@gmail.com>2015-11-25 09:48:15 -0800
committerGravatar Craig Tiller <craig.tiller@gmail.com>2015-11-25 09:48:15 -0800
commitee7531cd7c0ef681d104ab0ec83a8fb151ebb62b (patch)
tree1d855963f1194d7fb1bab9ca5b2ce22d1214dca8 /src/core/channel
parentd597b83c10c121fd33df4d0476c931a44c702691 (diff)
Refine condition to fix some tests
Diffstat (limited to 'src/core/channel')
-rw-r--r--src/core/channel/client_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/channel/client_channel.c b/src/core/channel/client_channel.c
index 7a4c16227d..ae1f3cf4c2 100644
--- a/src/core/channel/client_channel.c
+++ b/src/core/channel/client_channel.c
@@ -118,7 +118,7 @@ static void on_lb_policy_state_changed_locked(
/* check if the notification is for a stale policy */
if (w->lb_policy != w->chand->lb_policy) return;
- if ((publish_state == GRPC_CHANNEL_FATAL_FAILURE || publish_state == GRPC_CHANNEL_TRANSIENT_FAILURE) && w->chand->resolver != NULL) {
+ if (publish_state == GRPC_CHANNEL_FATAL_FAILURE && w->chand->resolver != NULL) {
publish_state = GRPC_CHANNEL_TRANSIENT_FAILURE;
grpc_resolver_channel_saw_error(exec_ctx, w->chand->resolver);
}