Skip to content

Commit ee9fbf4

Browse files
geofffranksebroberson
authored andcommitted
Replace deprecated grpclog.SetLogger with grpclog.SetLoggerV2
1 parent 1990aff commit ee9fbf4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

cmd/routing-api/routing_api_suite_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"encoding/pem"
66
"fmt"
77
"io"
8-
"log"
98
"net/http"
109
"net/url"
1110
"os"
@@ -80,7 +79,7 @@ var _ = SynchronizedBeforeSuite(
8079
return []byte(strings.Join([]string{routingAPIBin, locketPath}, ","))
8180
},
8281
func(binPaths []byte) {
83-
grpclog.SetLogger(log.New(io.Discard, "", 0))
82+
grpclog.SetLoggerV2(grpclog.NewLoggerV2(io.Discard, io.Discard, io.Discard))
8483

8584
path := string(binPaths)
8685
routingAPIBinPath = strings.Split(path, ",")[0]

0 commit comments

Comments
 (0)