Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
a8d8a968
Commit
a8d8a968
authored
10 years ago
by
Michael Lumish
Browse files
Options
Downloads
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/ruby/ext/grpc/rb_credentials.c
+1
-1
1 addition, 1 deletion
src/ruby/ext/grpc/rb_credentials.c
with
1 addition
and
1 deletion
src/ruby/ext/grpc/rb_credentials.c
+
1
−
1
View file @
a8d8a968
...
@@ -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"
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment