This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.1 by this push:
new 631d3fc26f Fix Service Discovery Port Match (#10606)
631d3fc26f is described below
commit 631d3fc26fc031848d2bffb28eff65862dbfe9bf
Author: Albumen Kevin <[email protected]>
AuthorDate: Tue Sep 13 18:50:27 2022 +0800
Fix Service Discovery Port Match (#10606)
---
.../src/main/java/org/apache/dubbo/metadata/MetadataInfo.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java
b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java
index 51b8d2ec8c..baa2559a49 100644
---
a/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java
+++
b/dubbo-metadata/dubbo-metadata-api/src/main/java/org/apache/dubbo/metadata/MetadataInfo.java
@@ -735,7 +735,7 @@ public class MetadataInfo implements Serializable {
}
public String toDescString() {
- return this.getMatchKey() + path + new TreeMap<>(getParams());
+ return this.getMatchKey() + port + path + new
TreeMap<>(getParams());
}
public void addParameter(String key, String value) {