From 7099398db6b1158b9e216b7b933b3fdfb0121d88 Mon Sep 17 00:00:00 2001 From: huangzw Date: Fri, 12 Jul 2024 16:46:00 +0800 Subject: [PATCH] chore: replace the DisableDebugLog method, which is marked as Deprecated, with the PrintDebugLog method in the discovery test --- transport/grpc/resolver/discovery/builder_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transport/grpc/resolver/discovery/builder_test.go b/transport/grpc/resolver/discovery/builder_test.go index 6405105180e..0f27078acb1 100644 --- a/transport/grpc/resolver/discovery/builder_test.go +++ b/transport/grpc/resolver/discovery/builder_test.go @@ -81,7 +81,7 @@ func (m *mockConn) ParseServiceConfig(_ string) *serviceconfig.ParseResult { } func TestBuilder_Build(t *testing.T) { - b := NewBuilder(&mockDiscovery{}, DisableDebugLog()) + b := NewBuilder(&mockDiscovery{}, PrintDebugLog(false)) _, err := b.Build( resolver.Target{ URL: url.URL{