aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannelPool.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-23 10:28:04 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-23 10:28:53 -0700
commit351b5d0f13138690b8ce75a7675306caec5c9e62 (patch)
tree5bd24723fab09b3243f3684d7a93088ce6b8acd7 /src/objective-c/GRPCClient/private/GRPCChannelPool.m
parentf3e9224f0b34a6265830600c67293d96964a4c5c (diff)
enableRetry->retryEnabled
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannelPool.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelPool.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
index 80fa9c9151..1dfae32342 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
@@ -108,8 +108,8 @@ extern const char *kCFStreamVarName;
[NSNumber numberWithUnsignedInteger:(unsigned int)(_callOptions.keepaliveTimeout * 1000)];
}
- if (_callOptions.enableRetry == NO) {
- args[@GRPC_ARG_ENABLE_RETRIES] = [NSNumber numberWithInt:_callOptions.enableRetry];
+ if (_callOptions.retryEnabled == NO) {
+ args[@GRPC_ARG_ENABLE_RETRIES] = [NSNumber numberWithInt:_callOptions.retryEnabled];
}
if (_callOptions.connectMinTimeout > 0) {