zrlw commented on code in PR #15603:
URL: https://github.com/apache/dubbo/pull/15603#discussion_r2275234315


##########
dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/metadata/ConfigurableMetadataServiceExporter.java:
##########
@@ -71,7 +73,7 @@ public ConfigurableMetadataServiceExporter(
     }
 
     public synchronized ConfigurableMetadataServiceExporter export() {
-        if (serviceConfig == null || !isExported()) {
+        if ((serviceConfig == null && serviceConfigV2 == null) || 
!isExported()) {

Review Comment:
   it will not call isExported() when the app only exported v2 because 
servieConfig is always null



-- 
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: notifications-unsubscr...@dubbo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org
For additional commands, e-mail: notifications-h...@dubbo.apache.org

Reply via email to