1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-10-01 16:54:08 +02:00

spelling fixes in src

This commit is contained in:
Robin Appelman 2026-09-23 15:10:49 +02:00
commit 99c3285f07
9 changed files with 37 additions and 47 deletions

View file

@ -206,7 +206,7 @@ pub trait ServiceTrait {
"bash"
}
/// Allow services to delay the completion of the `start` command untill they are fully setup
/// Allow services to delay the completion of the `start` command until they are fully setup
///
/// This is not for services which are critical for the running of the instance (use `is_healthy` for that)
/// But instead for cases where the instance is mostly usable, but might have some missing features
@ -264,18 +264,18 @@ pub enum ServiceType {
S3mb,
/// Azure Primary storage and external storage
Azure,
/// Ldap user backend
/// LDAP user backend
Ldap,
/// Ldap admin interface
/// LDAP admin interface
LdapAdmin,
/// OnlyOffice
#[strum(serialize = "onlyoffice", serialize = "only-office")]
OnlyOffice,
/// Libre office online
/// LibreOffice online
Office,
/// notify_push
Push,
/// Smb external storage
/// SMB external storage
Smb,
/// Database sharding
#[strum(serialize = "sharding", serialize = "sharded")]
@ -293,17 +293,17 @@ pub enum ServiceType {
SingleShard,
/// WebDav external storage
Dav,
/// Sftp external storage
/// SFTP external storage
Sftp,
/// Sftp external storage with public key authentication
/// SFTP external storage with public key authentication
SftpKey,
/// ownCloud instance for migration
Oc,
/// Imaginary for preview generation
Imaginary,
/// Kaspersky antivirus in http mode
/// Kaspersky antivirus in HTTP mode
Kaspersky,
/// Kaspersky antivirus in icap mode
/// Kaspersky antivirus in ICAP mode
KasperskyIcap,
/// Kaspersky antivirus in local binary
#[strum(serialize = "clamav", serialize = "clam")]
@ -314,23 +314,23 @@ pub enum ServiceType {
/// Kaspersky antivirus in local socket mode
#[strum(serialize = "clamav-socket", serialize = "clam-socket")]
ClamAvSocket,
/// Kaspersky antivirus in icap mode
/// Kaspersky antivirus in ICAP mode
#[strum(serialize = "clamav-icap", serialize = "clam-icap")]
ClamAvIcap,
/// Kaspersky antivirus in icap mode with TLS
/// Kaspersky antivirus in ICAP mode with TLS
#[strum(serialize = "clamav-icap-tls", serialize = "clam-icap-tls")]
ClamAvIcapTls,
/// Mail server
Mail,
/// External redis instance
/// External Redis instance
Redis,
/// External redis instance with TLS
/// External Redis instance with TLS
RedisTls,
/// Use FrankenPHP instead of PHP-FPM
FrankenPhp,
/// Webhook test listener
Webhook,
/// Enable DB partitioning for mariadb
/// Enable DB partitioning for MariaDB
Partitioning,
/// Authentik identity provider
Authentik,
@ -465,7 +465,7 @@ impl Service {
}
// Remove duplicate services.
// Useful for Authentik as it is needed by saml and oidc.
// Useful for Authentik as it is needed by SAML and OIDC.
pub fn deduplicate_services(services: impl IntoIterator<Item = Service>) -> Vec<Service> {
let mut collected = Vec::new();
for service in services {