Skip to content

Commit d42f440

Browse files
committed
format -> into
1 parent 639c55d commit d42f440

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

stackslib/src/net/api/gethealth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ impl StacksHttpRequest {
268268
StacksHttpRequest::new_for_peer(
269269
host,
270270
"GET".into(),
271-
format!("/v3/health"),
271+
"/v3/health".into(),
272272
HttpRequestContents::new().query_arg(
273273
NEIGHBORS_SCOPE_PARAM_NAME.into(),
274274
neighbors_scope.to_string(),

stackslib/src/net/api/tests/gethealth.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ fn test_get_health_400_invalid_neighbors_param() {
290290
let request = StacksHttpRequest::new_for_peer(
291291
SocketAddr::new(IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)), 33333).into(),
292292
"GET".into(),
293-
format!("/v3/health"),
293+
"/v3/health".into(),
294294
HttpRequestContents::new().query_string(Some("neighbors=invalid")),
295295
)
296296
.expect("FATAL: failed to construct request from infallible data");

0 commit comments

Comments
 (0)