Skip to content

Commit

Permalink
chore: replace the DisableDebugLog method, which is marked as Depreca…
Browse files Browse the repository at this point in the history
…ted, with the PrintDebugLog method in the discovery test (#3364)

Co-authored-by: huangzw <[email protected]>
  • Loading branch information
1911860538 and huangzw authored Aug 19, 2024
1 parent 2f94905 commit 57b961c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport/grpc/resolver/discovery/builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 57b961c

Please sign in to comment.