diff --git a/registry/event/event_publishing_service_deiscovery_test.go b/registry/event/event_publishing_service_deiscovery_test.go index 54752c03c0de598226270b27c8d7d0f3621d07d1..4d3d7cf8b0ab7f218df72a453826e9b63ee0b759 100644 --- a/registry/event/event_publishing_service_deiscovery_test.go +++ b/registry/event/event_publishing_service_deiscovery_test.go @@ -18,6 +18,7 @@ package event import ( + "github.com/apache/dubbo-go/common" "reflect" "testing" ) @@ -116,6 +117,10 @@ func (tel *TestServiceInstancePreRegisteredEventListener) GetEventType() reflect type ServiceDiscoveryA struct { } +func (msd *ServiceDiscoveryA) Initialize(registryURL common.URL) error { + return nil +} + // String return mockServiceDiscovery func (msd *ServiceDiscoveryA) String() string { return "testServiceDiscovery"