Always store value_meta
If value_meta is null or blank, store an empty string. Change-Id: I6286d9b2f30b6ee6f8839c80c690721af09c5e75
This commit is contained in:
parent
38c00a3abd
commit
31bb8ba21d
@ -95,7 +95,11 @@ public class InfluxV9MetricRepo extends InfluxMetricRepo {
|
||||
|
||||
String valueMetaJSONString = measurement.getValueMetaJSONString();
|
||||
|
||||
if (valueMetaJSONString != null) {
|
||||
if (valueMetaJSONString == null) {
|
||||
|
||||
valueMap.put("value_meta", "");
|
||||
|
||||
} else {
|
||||
|
||||
valueMap.put("value_meta", valueMetaJSONString);
|
||||
|
||||
|
@ -1,4 +1,3 @@
|
||||
hacking>=0.9.2,<0.10
|
||||
pyflakes
|
||||
nose
|
||||
mock>=1.0.1
|
||||
mock>=1.0.1
|
Loading…
Reference in New Issue
Block a user