Merge pull request #1410 from sagikazarmark/fix-typo

Fix typo
This commit is contained in:
Eric Chiang 2019-02-22 12:02:27 -08:00 committed by GitHub
commit e913a252cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}