Browse Source

change nan replacement value from 0.0 to -999.0 so it's obvious

master
Jonathan Strong 6 years ago
parent
commit
13dd21f730
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/influx.rs

+ 1
- 1
src/influx.rs View File

@@ -580,7 +580,7 @@ pub fn serialize_owned(measurement: &OwnedMeasurement, line: &mut String) {
if f.is_finite() { if f.is_finite() {
line.push_str(&format!("{}", f)); line.push_str(&format!("{}", f));
} else { } else {
line.push_str("0.0");
line.push_str("-999.0");
} }
} }




Loading…
Cancel
Save