You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by al...@apache.org on 2023/05/18 09:45:25 UTC

[dubbo] branch 3.2 updated: fix: DefaultModuleDeployer start fail, but export MetadataService(#12315) (#12316)

This is an automated email from the ASF dual-hosted git repository.

albumenj pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/3.2 by this push:
     new 5fb15a130d fix: DefaultModuleDeployer start fail, but export MetadataService(#12315) (#12316)
5fb15a130d is described below

commit 5fb15a130d8f3b5503c93afbeb9892eaa0238f7a
Author: AYue <40...@users.noreply.github.com>
AuthorDate: Thu May 18 17:45:14 2023 +0800

    fix: DefaultModuleDeployer start fail, but export MetadataService(#12315) (#12316)
    
    Co-authored-by: Albumen Kevin <jh...@gmail.com>
---
 .../main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java
index a29fbaf197..919a31d22a 100644
--- a/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java
+++ b/dubbo-config/dubbo-config-api/src/main/java/org/apache/dubbo/config/deploy/DefaultModuleDeployer.java
@@ -316,7 +316,7 @@ public class DefaultModuleDeployer extends AbstractDeployer<ModuleModel> impleme
         try {
             setFailed(ex);
             logger.error(CONFIG_FAILED_START_MODEL, "", "", "Model start failed: " + msg, ex);
-            applicationDeployer.notifyModuleChanged(moduleModel, DeployState.STARTED);
+            applicationDeployer.notifyModuleChanged(moduleModel, DeployState.FAILED);
         } finally {
             completeStartFuture(false);
         }