From c48cb36e8f7b00042dd484969d99d3e18b129566 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Fri, 22 Feb 2019 20:54:19 +0100 Subject: [PATCH] Fix typo --- Documentation/api.md | 2 +- examples/grpc-client/client.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/api.md b/Documentation/api.md index 45c2bd4e..48a9f509 100644 --- a/Documentation/api.md +++ b/Documentation/api.md @@ -62,7 +62,7 @@ func newDexClient(hostAndPort, caPath string) (api.DexClient, error) { conn, err := grpc.Dial(hostAndPort, grpc.WithTransportCredentials(creds)) if err != nil { - return nil, fmt.Errorf("dail: %v", err) + return nil, fmt.Errorf("dial: %v", err) } return api.NewDexClient(conn), nil } diff --git a/examples/grpc-client/client.go b/examples/grpc-client/client.go index 41bc4c85..ba976f5e 100644 --- a/examples/grpc-client/client.go +++ b/examples/grpc-client/client.go @@ -38,7 +38,7 @@ func newDexClient(hostAndPort, caPath, clientCrt, clientKey string) (api.DexClie conn, err := grpc.Dial(hostAndPort, grpc.WithTransportCredentials(creds)) if err != nil { - return nil, fmt.Errorf("dail: %v", err) + return nil, fmt.Errorf("dial: %v", err) } return api.NewDexClient(conn), nil }