Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorSami Hiltunen <shiltunen@gitlab.com>2023-08-22 13:08:46 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2023-08-31 09:28:29 +0300
commitefe1a5d80ba3e4c80522fa731b575fa84ca908e4 (patch)
tree53576f4b183c03ec958736caeeea8043e67c1fc8 /client
parent644d8262c09ef5436c4b3915f7da98be3c048caa (diff)
Replace use of NewDiscardingLogEntry with the recording logger
Gitaly now has a helper for recording log output and outputting it only in tests. Replace the usage of the discarding logger with the recording logger. These changes are search and replace so these call sites didn't even need a log entry to begin with but rather use a FieldLogger. NewDiscardingLogEntry is removed as it is no longer used.
Diffstat (limited to 'client')
-rw-r--r--client/dial_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/dial_test.go b/client/dial_test.go
index f5f375f32..190378b11 100644
--- a/client/dial_test.go
+++ b/client/dial_test.go
@@ -676,7 +676,7 @@ var dialFuncs = []struct {
{
name: "DialSidechannel",
dial: func(t *testing.T, rawAddress string, connOpts []grpc.DialOption) (*grpc.ClientConn, error) {
- sr := NewSidechannelRegistry(testhelper.NewDiscardingLogEntry(t))
+ sr := NewSidechannelRegistry(testhelper.NewLogger(t))
return DialSidechannel(testhelper.Context(t), rawAddress, sr, connOpts)
},
},