aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannelPool.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-16 18:28:16 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-16 18:28:16 -0700
commitad5485ae4ef4ec31cb6b3ed54876fd9868343388 (patch)
tree24487565740e640256ae3bc5a7a27208379140e4 /src/objective-c/GRPCClient/private/GRPCChannelPool.m
parentbc292b87c26ea8f6465443a152e86b3ed71e585b (diff)
Make channel args immutable
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannelPool.m')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelPool.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.m b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
index 10a15f5255..11c9d4be8d 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelPool.m
+++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.m
@@ -76,7 +76,7 @@ const NSTimeInterval kChannelDestroyDelay = 30;
}
}
-- (NSMutableDictionary *)channelArgs {
+- (NSDictionary *)channelArgs {
NSMutableDictionary *args = [NSMutableDictionary new];
NSString *userAgent = @"grpc-objc/" GRPC_OBJC_VERSION_STRING;