Skip to content

Commit 863425f

Browse files
Renamed response_format_str
1 parent 5782646 commit 863425f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/sensor_posts.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,14 +162,14 @@ fn make_post(thread_id: u32, client: &Client, rng: &mut ThreadRng) {
162162

163163
match res {
164164
Ok(response) => {
165-
let info_msg = format!(
165+
let response_format_str = format!(
166166
"[Thread {thread_id}]: Response from Ambi backend: {}",
167167
response.status().as_str()
168168
);
169169

170170
match response.status().is_success() {
171-
true => info!("{}", info_msg),
172-
false => error!("{}", info_msg),
171+
true => info!("{}", response_format_str),
172+
false => error!("{}", response_format_str),
173173
}
174174

175175
debug!(

0 commit comments

Comments
 (0)