You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2020/05/01 06:12:19 UTC
[dubbo] branch master updated: fix addAttachment put into the wrong
property (#6012)
This is an automated email from the ASF dual-hosted git repository.
liujun 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 8ba66c8 fix addAttachment put into the wrong property (#6012)
8ba66c8 is described below
commit 8ba66c889879bb4eae081d500064279817f17070
Author: ken.lj <ke...@gmail.com>
AuthorDate: Fri May 1 14:12:03 2020 +0800
fix addAttachment put into the wrong property (#6012)
---
.../src/main/java/org/apache/dubbo/rpc/model/ServiceMetadata.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ServiceMetadata.java b/dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ServiceMetadata.java
index 4ee22e9..5f551b5 100644
--- a/dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ServiceMetadata.java
+++ b/dubbo-common/src/main/java/org/apache/dubbo/rpc/model/ServiceMetadata.java
@@ -73,7 +73,7 @@ public class ServiceMetadata extends BaseServiceMetadata {
}
public void addAttachment(String key, Object value) {
- this.attributeMap.put(key, value);
+ this.attachments.put(key, value);
}
public Class<?> getServiceType() {