mirror of
https://github.com/go-kratos/kratos.git
synced 2025-01-26 03:52:12 +02:00
chore: replace the DisableDebugLog method, which is marked as Deprecated, with the PrintDebugLog method in the discovery test (#3364)
Co-authored-by: huangzw <huangzw@2345.com>
This commit is contained in:
parent
2f94905f28
commit
57b961cba0
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user