Fix typo
This commit is contained in:
parent
ca66289077
commit
c48cb36e8f
@ -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("dail: %v", err)
|
return nil, fmt.Errorf("dial: %v", err)
|
||||||
}
|
}
|
||||||
return api.NewDexClient(conn), nil
|
return api.NewDexClient(conn), nil
|
||||||
}
|
}
|
||||||
|
@ -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("dail: %v", err)
|
return nil, fmt.Errorf("dial: %v", err)
|
||||||
}
|
}
|
||||||
return api.NewDexClient(conn), nil
|
return api.NewDexClient(conn), nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user