Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
hdacloud
dex
Commits
e913a252
Unverified
Commit
e913a252
authored
6 years ago
by
Eric Chiang
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1410 from sagikazarmark/fix-typo
Fix typo
parents
8b4a9bf5
c48cb36e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Documentation/api.md
+1
-1
1 addition, 1 deletion
Documentation/api.md
examples/grpc-client/client.go
+1
-1
1 addition, 1 deletion
examples/grpc-client/client.go
with
2 additions
and
2 deletions
Documentation/api.md
+
1
−
1
View file @
e913a252
...
@@ -62,7 +62,7 @@ func newDexClient(hostAndPort, caPath string) (api.DexClient, error) {
...
@@ -62,7 +62,7 @@ func newDexClient(hostAndPort, caPath string) (api.DexClient, error) {
conn, err := grpc.Dial(hostAndPort, grpc.WithTransportCredentials(creds))
conn, err := grpc.Dial(hostAndPort, grpc.WithTransportCredentials(creds))
if err != nil {
if err != nil {
return nil, fmt.Errorf("d
a
il: %v", err)
return nil, fmt.Errorf("di
a
l: %v", err)
}
}
return api.NewDexClient(conn), nil
return api.NewDexClient(conn), nil
}
}
...
...
This diff is collapsed.
Click to expand it.
examples/grpc-client/client.go
+
1
−
1
View file @
e913a252
...
@@ -38,7 +38,7 @@ func newDexClient(hostAndPort, caPath, clientCrt, clientKey string) (api.DexClie
...
@@ -38,7 +38,7 @@ func newDexClient(hostAndPort, caPath, clientCrt, clientKey string) (api.DexClie
conn
,
err
:=
grpc
.
Dial
(
hostAndPort
,
grpc
.
WithTransportCredentials
(
creds
))
conn
,
err
:=
grpc
.
Dial
(
hostAndPort
,
grpc
.
WithTransportCredentials
(
creds
))
if
err
!=
nil
{
if
err
!=
nil
{
return
nil
,
fmt
.
Errorf
(
"d
a
il: %v"
,
err
)
return
nil
,
fmt
.
Errorf
(
"di
a
l: %v"
,
err
)
}
}
return
api
.
NewDexClient
(
conn
),
nil
return
api
.
NewDexClient
(
conn
),
nil
}
}
...
...
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