zrlw commented on a change in pull request #9015:
URL: https://github.com/apache/dubbo/pull/9015#discussion_r735237145



##########
File path: 
dubbo-metadata/dubbo-metadata-report-zookeeper/src/main/java/org/apache/dubbo/metadata/store/zookeeper/ZookeeperMetadataReportFactory.java
##########
@@ -30,11 +29,8 @@
 
     private ZookeeperTransporter zookeeperTransporter;
 
-    private ApplicationModel applicationModel;
-
-    public ZookeeperMetadataReportFactory(ApplicationModel applicationModel) {
-        this.applicationModel = applicationModel;
-        this.zookeeperTransporter = 
ZookeeperTransporter.getExtension(applicationModel);
+    public ZookeeperMetadataReportFactory() {
+        this.zookeeperTransporter = ZookeeperTransporter.getExtension();

Review comment:
       the scope of ZookeeperTransporter is changed back to FRAMEWORK and it 
uses FrameworkModel.defaultModel() to getExtension.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to