summaryrefslogtreecommitdiffstats
path: root/crates/core/c8y_translator
diff options
context:
space:
mode:
authorAlbin Suresh <albin.suresh@softwareag.com>2021-12-22 15:02:24 +0530
committerGitHub <noreply@github.com>2021-12-22 15:02:24 +0530
commit0d61811849ce9931b91b65a7e94865d99f4bb394 (patch)
tree5b6e2b4d3d44be2f1256842fb4b9d16c9e7ca2df /crates/core/c8y_translator
parent888a4e70ca44d9b41d645148b7a24d89a984da7c (diff)
Closes #667 Thin Edge JSON alarm support (#726)
* Closes #667 Thin Edge JSON alarm support
Diffstat (limited to 'crates/core/c8y_translator')
-rw-r--r--crates/core/c8y_translator/src/json.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/core/c8y_translator/src/json.rs b/crates/core/c8y_translator/src/json.rs
index 5794513f..8c9a2b5b 100644
--- a/crates/core/c8y_translator/src/json.rs
+++ b/crates/core/c8y_translator/src/json.rs
@@ -27,7 +27,7 @@ pub enum CumulocityJsonError {
ThinEdgeJsonParserError(#[from] ThinEdgeJsonParserError),
}
-/// Converts from thin-edge Json to c8y_json
+/// Converts from thin-edge measurement JSON to C8Y measurement JSON
pub fn from_thin_edge_json(input: &str) -> Result<String, CumulocityJsonError> {
let timestamp = WallClock.now();
let c8y_vec = from_thin_edge_json_with_timestamp(input, timestamp, None)?;