Skip to content
Snippets Groups Projects
Commit a8d8a968 authored by Michael Lumish's avatar Michael Lumish
Browse files

Merge pull request #765 from tbetbetbe/grpc_rb_rename_c_creds_api

Reflect a C-api name change
parents b7835ab7 957537e0
No related branches found
No related tags found
No related merge requests found
...@@ -125,7 +125,7 @@ static VALUE grpc_rb_credentials_init_copy(VALUE copy, VALUE orig) { ...@@ -125,7 +125,7 @@ static VALUE grpc_rb_credentials_init_copy(VALUE copy, VALUE orig) {
Creates the default credential instances. */ Creates the default credential instances. */
static VALUE grpc_rb_default_credentials_create(VALUE cls) { static VALUE grpc_rb_default_credentials_create(VALUE cls) {
grpc_rb_credentials *wrapper = ALLOC(grpc_rb_credentials); grpc_rb_credentials *wrapper = ALLOC(grpc_rb_credentials);
wrapper->wrapped = grpc_default_credentials_create(); wrapper->wrapped = grpc_google_default_credentials_create();
if (wrapper->wrapped == NULL) { if (wrapper->wrapped == NULL) {
rb_raise(rb_eRuntimeError, rb_raise(rb_eRuntimeError,
"could not create default credentials, not sure why"); "could not create default credentials, not sure why");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment