Signed-off-by: Christoph Heiss <c.he...@proxmox.com> --- Changes v2 -> v3: * fix some more typos
Changes v1 -> v2: * new patch proxmox-auto-install-assistant/src/main.rs | 4 ++-- proxmox-fetch-answer/src/fetch_plugins/http.rs | 2 +- proxmox-installer-common/src/disk_checks.rs | 2 +- unconfigured.sh | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/proxmox-auto-install-assistant/src/main.rs b/proxmox-auto-install-assistant/src/main.rs index 1447175..c6f1ec8 100644 --- a/proxmox-auto-install-assistant/src/main.rs +++ b/proxmox-auto-install-assistant/src/main.rs @@ -55,7 +55,7 @@ struct CommandDeviceInfo { /// Filters support the following syntax: /// ? Match a single character /// * Match any number of characters -/// [a], [0-9] Specifc character or range of characters +/// [a], [0-9] Specific character or range of characters /// [!a] Negate a specific character of range /// /// To avoid globbing characters being interpreted by the shell, use single quotes. @@ -419,7 +419,7 @@ fn get_iso_uuid(iso: &PathBuf) -> Result<String> { uuid = line .split(' ') .last() - .ok_or_else(|| format_err!("xorriso did behave unexpextedly"))? + .ok_or_else(|| format_err!("xorriso did behave unexpectedly"))? .replace('\'', "") .trim() .into(); diff --git a/proxmox-fetch-answer/src/fetch_plugins/http.rs b/proxmox-fetch-answer/src/fetch_plugins/http.rs index 21bc6a2..f5af226 100644 --- a/proxmox-fetch-answer/src/fetch_plugins/http.rs +++ b/proxmox-fetch-answer/src/fetch_plugins/http.rs @@ -194,7 +194,7 @@ mod http_post { /// openssl s_client -connect <host>:443 < /dev/null 2>/dev/null | openssl x509 -fingerprint -sha256 -noout -in /dev/stdin /// ``` /// - /// # Arguemnts + /// # Arguments /// * `url` - URL to call /// * `fingerprint` - SHA256 cert fingerprint if certificate pinning should be used. Optional. /// * `payload` - The payload to send to the server. Expected to be a JSON formatted string. diff --git a/proxmox-installer-common/src/disk_checks.rs b/proxmox-installer-common/src/disk_checks.rs index 89b300c..ecc43bd 100644 --- a/proxmox-installer-common/src/disk_checks.rs +++ b/proxmox-installer-common/src/disk_checks.rs @@ -24,7 +24,7 @@ pub fn check_for_duplicate_disks(disks: &[Disk]) -> Result<(), &Disk> { /// /// # Arguments /// -/// * `disks` - A list of disks to check the lenght of. +/// * `disks` - A list of disks to check the length of. /// * `min` - Minimum number of disks pub fn check_raid_min_disks(disks: &[Disk], min: usize) -> Result<(), String> { if disks.len() < min { diff --git a/unconfigured.sh b/unconfigured.sh index a39e6ad..b1c980a 100755 --- a/unconfigured.sh +++ b/unconfigured.sh @@ -166,7 +166,7 @@ export PREVLEVEL=N mkdir -p /dev/shm mount -t tmpfs tmpfs /dev/shm -# allow pseudo terminals for debuggin in X +# allow pseudo terminals for debugging in X mkdir -p /dev/pts mount -vt devpts devpts /dev/pts -o gid=5,mode=620 @@ -190,7 +190,7 @@ if command -v dbus-daemon; then mkdir /run/dbus dbus-daemon --system --syslog-only - if [ $proxdebug -ne 0 ]; then # FIXME: better intergration, e.g., use iwgtk? + if [ $proxdebug -ne 0 ]; then # FIXME: better integration, e.g., use iwgtk? handle_wireless # no-op if not wireless dev is found fi fi -- 2.45.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel