summaryrefslogtreecommitdiffhomepage
path: root/tools/unitctl/unit-client-rs/src/unit_client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/unitctl/unit-client-rs/src/unit_client.rs')
-rw-r--r--tools/unitctl/unit-client-rs/src/unit_client.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/unitctl/unit-client-rs/src/unit_client.rs b/tools/unitctl/unit-client-rs/src/unit_client.rs
index f76004cd..b8c73ec0 100644
--- a/tools/unitctl/unit-client-rs/src/unit_client.rs
+++ b/tools/unitctl/unit-client-rs/src/unit_client.rs
@@ -250,7 +250,7 @@ impl UnitClient {
Err(Box::new(UnitClientError::new(
hyper_error,
self.control_socket.to_string(),
- "".to_string(),
+ "/listeners".to_string(),
)))
} else {
Err(Box::new(UnitClientError::OpenAPIError { source: err }))
@@ -268,7 +268,7 @@ impl UnitClient {
Err(Box::new(UnitClientError::new(
hyper_error,
self.control_socket.to_string(),
- "".to_string(),
+ "/status".to_string(),
)))
} else {
Err(Box::new(UnitClientError::OpenAPIError { source: err }))