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 12:31:10 +0300
committerSami Hiltunen <shiltunen@gitlab.com>2023-08-31 09:27:26 +0300
commit190de6ae935b0bafdc079d4e25ac1d8917141069 (patch)
tree588bd3fc57c2300fc0db9121c63ea66e79b53577 /client
parentd64a96f54f431120a3d69a7b42f3ddfafb8ecfbb (diff)
Replace discarding logger with new recording logger
Gitaly now has a new logger for tests which outputs the logs on test failure only. Replace all usage of discarding logger with it to capture logs instead of discarding them. NewDiscardingLogger is unexported as it is no longer used except for newServerLogger.
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 2a3f6c723..f5f375f32 100644
--- a/client/dial_test.go
+++ b/client/dial_test.go
@@ -805,5 +805,5 @@ func startFakeGitalyServer(t *testing.T) string {
}
func newLogger(tb testing.TB) *logrus.Entry {
- return logrus.NewEntry(testhelper.NewDiscardingLogger(tb))
+ return logrus.NewEntry(testhelper.NewLogger(tb))
}