You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by cr...@apache.org on 2022/01/24 12:42:06 UTC

[dubbo] branch master updated: bugfix parameters don't put into methodParameters (#9599)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 01a0d55  bugfix parameters don't put into methodParameters (#9599)
01a0d55 is described below

commit 01a0d55499d2c9b0eb93df6e931f65474012580a
Author: w4n92h3n <wa...@msn.com>
AuthorDate: Mon Jan 24 20:41:21 2022 +0800

    bugfix parameters don't put into methodParameters (#9599)
---
 .../java/org/apache/dubbo/registry/integration/DynamicDirectory.java     | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/DynamicDirectory.java b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/DynamicDirectory.java
index f5b64ff..8afd608 100644
--- a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/DynamicDirectory.java
+++ b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/integration/DynamicDirectory.java
@@ -130,6 +130,7 @@ public abstract class DynamicDirectory<T> extends AbstractDirectory<T> implement
                 .clearParameters()
                 .addParameters(queryMap)
                 .removeParameter(MONITOR_KEY)
+                .addMethodParameters(URL.toMethodParameters(queryMap)) // reset method parameters
                 .build();
     }