diff options
author | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-10-05 10:19:53 +0300 |
---|---|---|
committer | Patrick Steinhardt <psteinhardt@gitlab.com> | 2022-10-05 10:19:53 +0300 |
commit | c9c6e13d1d341f1dc3aa092e1a22aafa0cee14ba (patch) | |
tree | 45563d72eb2cf6871626b191012cf0ac3f10c179 /client/dial_test.go | |
parent | 497699f17d36d0c4a0f9ddfc9f53cf5ccfc085eb (diff) |
global: Reformat sources with gofumpt v0.4.0
Reformat surces with the newly upgraded gofumpt v0.4.0.
Diffstat (limited to 'client/dial_test.go')
-rw-r--r-- | client/dial_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/dial_test.go b/client/dial_test.go index e0870ee32..70858b6ef 100644 --- a/client/dial_test.go +++ b/client/dial_test.go @@ -566,6 +566,7 @@ func startUnixListener(tb testing.TB, factory func(credentials.TransportCredenti } // startTLSListener will start a secure TLS listener on a random unused port +// //go:generate openssl req -newkey rsa:4096 -new -nodes -x509 -days 3650 -out testdata/gitalycert.pem -keyout testdata/gitalykey.pem -subj "/C=US/ST=California/L=San Francisco/O=GitLab/OU=GitLab-Shell/CN=localhost" -addext "subjectAltName = IP:127.0.0.1, DNS:localhost" func startTLSListener(tb testing.TB, factory func(credentials.TransportCredentials) *grpc.Server) (func(), string) { listener, err := net.Listen("tcp", "localhost:0") |