kairosdb/kairosdb-client

method addTags will not add tags because "this" keyword is missing.

chiragarora17 opened this issue · 2 comments

https://github.com/kairosdb/kairosdb-client/blob/master/src/main/java/org/kairosdb/client/builder/Metric.java

In Metric.java, I tried using addTags but for some reason, it wasn't adding the tags. When I debugged it, I found that you were using same name variable "tags" locally and globally and therefore, tags from map wasn't added into the global variable. Please use this.tags on line 76

Yes, there is already a bug #27 and pull fix #28

@brianhks @jsabin can someone please update the client because there are few bug fixes waiting...

Fixed.