Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
c48cb36e
Unverified
Commit
c48cb36e
authored
Feb 22, 2019
by
Mark Sagi-Kazar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
ca662890
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
api.md
Documentation/api.md
+1
-1
client.go
examples/grpc-client/client.go
+1
-1
No files found.
Documentation/api.md
View file @
c48cb36e
...
@@ -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
ai
l: %v", err)
return nil, fmt.Errorf("d
ia
l: %v", err)
}
}
return api.NewDexClient(conn), nil
return api.NewDexClient(conn), nil
}
}
...
...
examples/grpc-client/client.go
View file @
c48cb36e
...
@@ -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
ai
l: %v"
,
err
)
return
nil
,
fmt
.
Errorf
(
"d
ia
l: %v"
,
err
)
}
}
return
api
.
NewDexClient
(
conn
),
nil
return
api
.
NewDexClient
(
conn
),
nil
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment