aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-07-21 16:32:29 -0700
committerGravatar Craig Tiller <ctiller@google.com>2015-07-21 16:32:29 -0700
commit4a4f1496c1b2fe6dc8336ee5f00c09568165a42a (patch)
tree0dc91e2b6f8efff8ec2a9dcb2c400e2c18ed0fc2 /src/python
parent736689dbcea0d3f83389b5d84fb6a1ec2078805d (diff)
Rename grpc_channel_create to grpc_insecure_channel_create
Diffstat (limited to 'src/python')
-rw-r--r--src/python/src/grpc/_adapter/_c/types/channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/python/src/grpc/_adapter/_c/types/channel.c b/src/python/src/grpc/_adapter/_c/types/channel.c
index c235597466..feb256cf00 100644
--- a/src/python/src/grpc/_adapter/_c/types/channel.c
+++ b/src/python/src/grpc/_adapter/_c/types/channel.c
@@ -104,7 +104,7 @@ Channel *pygrpc_Channel_new(
if (creds) {
self->c_chan = grpc_secure_channel_create(creds->c_creds, target, &c_args);
} else {
- self->c_chan = grpc_channel_create(target, &c_args);
+ self->c_chan = grpc_insecure_channel_create(target, &c_args);
}
pygrpc_discard_channel_args(c_args);
return self;