mirror of
https://github.com/fullstorydev/grpcurl.git
synced 2026-05-25 05:01:45 +03:00
support unix sockets (#26)
This commit is contained in:
@@ -316,7 +316,7 @@ func createTestServerAndClient(serverCreds, clientCreds credentials.TransportCre
|
||||
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Second)
|
||||
defer cancel()
|
||||
|
||||
cc, err := BlockingDial(ctx, fmt.Sprintf("127.0.0.1:%d", port), clientCreds)
|
||||
cc, err := BlockingDial(ctx, "tcp", fmt.Sprintf("127.0.0.1:%d", port), clientCreds)
|
||||
if err != nil {
|
||||
return e, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user