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 2022/08/09 01:56:16 UTC

[dubbo] branch 3.0 updated: Fix triple unexport remove (#10417)

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

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


The following commit(s) were added to refs/heads/3.0 by this push:
     new ed73fdeed0 Fix triple unexport remove (#10417)
ed73fdeed0 is described below

commit ed73fdeed0e9e7392434a76c5f2b9cb3d42bfc80
Author: Albumen Kevin <jh...@gmail.com>
AuthorDate: Tue Aug 9 09:55:47 2022 +0800

    Fix triple unexport remove (#10417)
---
 .../main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java b/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java
index 734d173413..7e5a5b648c 100644
--- a/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java
+++ b/dubbo-rpc/dubbo-rpc-triple/src/main/java/org/apache/dubbo/rpc/protocol/tri/TripleProtocol.java
@@ -95,8 +95,7 @@ public class TripleProtocol extends AbstractProtocol {
             @Override
             public void afterUnExport() {
                 pathResolver.remove(url.getServiceKey());
-                pathResolver.add(url.getServiceModel().getServiceModel().getInterfaceName(),
-                    invoker);
+                pathResolver.remove(url.getServiceModel().getServiceModel().getInterfaceName());
                 // set service status
                 triBuiltinService.getHealthStatusManager()
                     .setStatus(url.getServiceKey(), ServingStatus.NOT_SERVING);