This website works better with JavaScript.
git.jstrong.dev
Home
Explore
Help
Sign In
jstrong
/
influx-writer
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
change nan replacement value from 0.0 to -999.0 so it's obvious
master
Jonathan Strong
6 years ago
parent
ac6076e45a
commit
13dd21f730
1 changed files
with
1 additions
and
1 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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");
}
}
}
}
Write
Preview
Loading…
Cancel
Save