diff options
author | Gabor Javorszky <g.javorszky@f5.com> | 2024-09-16 11:28:18 +0100 |
---|---|---|
committer | Andrew Clayton <a.clayton@nginx.com> | 2024-09-17 01:53:07 +0100 |
commit | 0dcd3a91995d5ad0a9d27347bba22d1e8eae08b1 (patch) | |
tree | 2643d298713c26a8fd0b2419ba651fa780f32fcd /tools/unitctl/unit-client-rs/src | |
parent | cc863e1526f869a9c6c7f3372f69301bba56f846 (diff) | |
download | unit-0dcd3a91995d5ad0a9d27347bba22d1e8eae08b1.tar.gz unit-0dcd3a91995d5ad0a9d27347bba22d1e8eae08b1.tar.bz2 |
tools/unitctl: rename UNIT -> Unit
The correct capitalisation of the name of the software is Unit, not all
caps.
Signed-off-by: Gabor Javorszky <g.javorszky@f5.com>
[ A bunch more s/UNIT/Unit/ - Andrew ]
Signed-off-by: Andrew Clayton <a.clayton@nginx.com>
Diffstat (limited to 'tools/unitctl/unit-client-rs/src')
-rw-r--r-- | tools/unitctl/unit-client-rs/src/unit_client.rs | 4 |
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 b3f07308..3d09e67a 100644 --- a/tools/unitctl/unit-client-rs/src/unit_client.rs +++ b/tools/unitctl/unit-client-rs/src/unit_client.rs @@ -21,7 +21,7 @@ use unit_openapi::apis::{ }; use unit_openapi::models::{ConfigApplication, ConfigListener, Status}; -const USER_AGENT: &str = concat!("UNIT CLI/", env!("CARGO_PKG_VERSION"), "/rust"); +const USER_AGENT: &str = concat!("Unit CLI/", env!("CARGO_PKG_VERSION"), "/rust"); custom_error! {pub UnitClientError OpenAPIError { source: OpenAPIError } = "OpenAPI error", @@ -201,7 +201,7 @@ impl UnitClient { } } - /// Sends a request to UNIT and deserializes the JSON response body into the value of type `RESPONSE`. + /// Sends a request to Unit and deserializes the JSON response body into the value of type `RESPONSE`. pub async fn send_request_and_deserialize_response<RESPONSE: for<'de> serde::Deserialize<'de>>( &self, mut request: Request<Body>, |