forked from mystiq/dex
fix(server): wrap credentials in the correct Dial option
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
243661155e
commit
79721196a8
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ func newAPI(s storage.Storage, logger log.Logger, t *testing.T) *apiClient {
|
|||
|
||||
// Dial will retry automatically if the serv.Serve() goroutine
|
||||
// hasn't started yet.
|
||||
conn, err := grpc.Dial(l.Addr().String(), insecure.NewCredentials())
|
||||
conn, err := grpc.Dial(l.Addr().String(), grpc.WithTransportCredentials(insecure.NewCredentials()))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue