Skip to content

Commit 65d8016

Browse files
committed
typos
1 parent 40dee54 commit 65d8016

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

crates/stackable-webhook/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ All notable changes to this project will be documented in this file.
2828

2929
### Added
3030

31-
- Instrument `WebhookServer` with `AxumTraceLayer`, add static healthcheck without instrumentation ([#758]).
32-
- Add shutdown signal hander for the `WebhookServer` ([#767]).
31+
- Instrument `WebhookServer` with `AxumTraceLayer`, add static health-check without instrumentation ([#758]).
32+
- Add shutdown signal handler for the `WebhookServer` ([#767]).
3333

3434
### Changed
3535

crates/stackable-webhook/src/constants.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ pub const DEFAULT_HTTPS_PORT: u16 = 8443;
88
/// The default IP address `127.0.0.1` the webhook server binds to.
99
pub const DEFAULT_IP_ADDRESS: IpAddr = IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1));
1010

11-
/// The default socket address `127.0.0.1:8443` the webhook server vinds to.
11+
/// The default socket address `127.0.0.1:8443` the webhook server binds to.
1212
pub const DEFAULT_SOCKET_ADDR: SocketAddr = SocketAddr::new(DEFAULT_IP_ADDRESS, DEFAULT_HTTPS_PORT);

crates/stackable-webhook/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
//! Utility types and functions to easily create ready-to-use webhook servers
22
//! which can handle different tasks, for example CRD conversions. All webhook
3-
//! servers use HTTPS by defaultThis library is fully compatible with the
3+
//! servers use HTTPS by default. This library is fully compatible with the
44
//! [`tracing`] crate and emits debug level tracing data.
55
//!
66
//! Most users will only use the top-level exported generic [`WebhookServer`]
7-
//! which enables complete control over the [Router] which handles registering
7+
//! which enables complete control over the [`Router`] which handles registering
88
//! routes and their handler functions.
99
//!
1010
//! ```
@@ -20,7 +20,7 @@
2020
//! only required parameters are a conversion handler function and [`Options`].
2121
//!
2222
//! This library additionally also exposes lower-level structs and functions to
23-
//! enable complete controll over these details if needed.
23+
//! enable complete control over these details if needed.
2424
//!
2525
//! [1]: crate::servers::ConversionWebhookServer
2626
use axum::{Router, routing::get};

crates/stackable-webhook/src/tls.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ pub enum Error {
6262
/// Custom implementation of [`std::cmp::PartialEq`] because some inner types
6363
/// don't implement it.
6464
///
65-
/// Note that this implementation is restritced to testing because there are
65+
/// Note that this implementation is restricted to testing because there are
6666
/// variants that use [`stackable_certs::ca::Error`] which only implements
6767
/// [`PartialEq`] for tests.
6868
#[cfg(test)]
@@ -84,7 +84,7 @@ impl PartialEq for Error {
8484
}
8585
}
8686

87-
/// A server which terminates TLS connections and allows clients to commnunicate
87+
/// A server which terminates TLS connections and allows clients to communicate
8888
/// via HTTPS with the underlying HTTP router.
8989
pub struct TlsServer {
9090
config: Arc<ServerConfig>,
@@ -96,7 +96,7 @@ impl TlsServer {
9696
#[instrument(name = "create_tls_server", skip(router))]
9797
pub async fn new(socket_addr: SocketAddr, router: Router) -> Result<Self> {
9898
// NOTE(@NickLarsenNZ): This code is not async, and does take some
99-
// non-negligable amount of time to complete (moreso in debug ).
99+
// non-negligible amount of time to complete (moreso in debug).
100100
// We run this in a thread reserved for blocking code so that the Tokio
101101
// executor is able to make progress on other futures instead of being
102102
// blocked.

0 commit comments

Comments
 (0)