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{