Skip to content

Commit af44051

Browse files
committed
Merge pull request #3 from databox/hotfix/add-atributes-fix
Bugfix for `addAttributes`
2 parents 44e7db9 + 5b7cab8 commit af44051

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/databox/sdk/KPI.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ public KPI addAttribute(String key, Object value) {
5757

5858
public KPI addAttributes(Map<String, Object> attributes) {
5959
if (attributes != null) {
60-
attributes.putAll(attributes);
60+
this.attributes.putAll(attributes);
6161
}
6262
return this;
6363
}

0 commit comments

Comments
 (0)