aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar David G. Quintas <dgq@google.com>2017-10-24 10:40:32 -0700
committerGravatar GitHub <noreply@github.com>2017-10-24 10:40:32 -0700
commit4e23dcc8c33464ee88f8a7207ffff2d0aac6faf3 (patch)
treebbbcdf79a3b77a389033c772001cd2ebb21e0a1d
parent308f065b7bd9d4cd43aa44ccfb06c0ab0a7ee1e2 (diff)
parent2b217d41c4c8cb4269b569591141b0d88ff9a9a2 (diff)
Merge pull request #12720 from dgquintas/grpclb_remove_silly_assert
Remove wrong assert from grpclb
-rw-r--r--src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc
index ffd58129c6..e159188ad7 100644
--- a/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc
+++ b/src/core/ext/filters/client_channel/lb_policy/grpclb/grpclb.cc
@@ -1803,9 +1803,8 @@ static void glb_lb_channel_on_connectivity_changed_cb(grpc_exec_ctx *exec_ctx,
break;
}
case GRPC_CHANNEL_IDLE:
- // lb channel inactive (probably shutdown prior to update). Restart lb
- // call to kick the lb channel into gear.
- GPR_ASSERT(glb_policy->lb_call == NULL);
+ // lb channel inactive (probably shutdown prior to update). Restart lb
+ // call to kick the lb channel into gear.
/* fallthrough */
case GRPC_CHANNEL_READY:
if (glb_policy->lb_call != NULL) {