Fix linter warnings
This commit is contained in:
1 parent
1b1c8b3bf9
commit
25bce9e8ff
74 files changed
+300
-302
No files matched your search
@@ -44,6 +44,7 @@ import (
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/stretchr/testify/require"
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/credentials/insecure"
|
||||
"google.golang.org/grpc/test/bufconn"
|
||||
)
|
||||
|
||||
@@ -978,7 +979,7 @@ func startTestGreeterService(t testing.TB, greeter interceptor.GreeterServiceSer
|
||||
|
||||
conn, _ := grpc.DialContext(dialCtx, "", grpc.WithContextDialer(func(context.Context, string) (net.Conn, error) {
|
||||
return listener.Dial()
|
||||
}), grpc.WithInsecure())
|
||||
}), grpc.WithTransportCredentials(insecure.NewCredentials()))
|
||||
|
||||
t.Cleanup(func() {
|
||||
listener.Close()
|
||||
|
||||
Reference in new issue
Block a user