Skip to content

Commit

Permalink
cli(fix): rename_all instead of rename
Browse files Browse the repository at this point in the history
  • Loading branch information
vrmiguel committed Jan 30, 2024
1 parent a4b7b24 commit 1e52937
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tembo-cli/src/cmd/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ struct LogEntry {
}

#[derive(Serialize, Deserialize, Debug)]
#[serde(rename = "camelCase")]
#[serde(rename_all = "camelCase")]
struct LogResult {
result_type: String,
result: Vec<LogEntry>,
Expand Down Expand Up @@ -251,7 +251,6 @@ mod tests {
#[tokio::test]
async fn cloud_logs() {
let valid_json_log = mock_query("valid_json").unwrap();
let result = beautify_logs(&valid_json_log);
assert!(result.is_ok());
beautify_logs(&valid_json_log).unwrap();
}
}

0 comments on commit 1e52937

Please sign in to comment.