Always store value_meta

If value_meta is null or blank, store an empty string.

Change-Id: I6286d9b2f30b6ee6f8839c80c690721af09c5e75
This commit is contained in:
Deklan Dieterly 2015-06-01 14:36:51 -06:00
parent 38c00a3abd
commit 31bb8ba21d
2 changed files with 6 additions and 3 deletions

View File

@ -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);

View File

@ -1,4 +1,3 @@
hacking>=0.9.2,<0.10
pyflakes
nose
mock>=1.0.1
mock>=1.0.1