From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) by lore.proxmox.com (Postfix) with ESMTPS id DD7E51FF15E for ; Mon, 22 Dec 2025 09:21:52 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id E3506ED0C; Mon, 22 Dec 2025 09:22:42 +0100 (CET) From: Maximiliano Sandoval To: pve-devel@lists.proxmox.com Date: Mon, 22 Dec 2025 09:22:36 +0100 Message-ID: <20251222082239.68125-1-m.sandoval@proxmox.com> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1766391742359 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.091 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment RCVD_IN_VALIDITY_CERTIFIED_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_RPBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. RCVD_IN_VALIDITY_SAFE_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to Validity was blocked. See https://knowledge.validity.com/hc/en-us/articles/20961730681243 for more information. SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pve-devel] [PATCH container] correct a handful of typos X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox VE development discussion Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: pve-devel-bounces@lists.proxmox.com Sender: "pve-devel" Detected with `typos --exclude changelog`. Signed-off-by: Maximiliano Sandoval --- src/PVE/LXC.pm | 6 +++--- src/PVE/LXC/Migrate.pm | 2 +- src/PVE/LXC/Setup/Debian.pm | 2 +- src/PVE/VZDump/ConvertOVZ.pm | 4 ++-- src/lxc-pve-userns.conf | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index de54a0db..d6cd76c6 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -1643,7 +1643,7 @@ my $options_with_restricted_read = { }; # NOTE: this modifies the $conf reference directly, clone up-front if you want to safe this $conf -# again to avoid loosing values! +# again to avoid losing values! sub delete_read_restricted_options { my ($rpcenv, $authuser, $vmid, $conf, $pool) = @_; @@ -2106,7 +2106,7 @@ sub mountpoint_stage { } # We clone the mount point and leave it there in order to keep them connected to eg. loop - # devices in case we're hotplugging (which would allow contaienrs to unmount the new mount + # devices in case we're hotplugging (which would allow containers to unmount the new mount # point). my $err; my $fd = PVE::Tools::open_tree(&AT_FDCWD, $stage_dir, &OPEN_TREE_CLOEXEC | &OPEN_TREE_CLONE) @@ -3134,7 +3134,7 @@ sub vm_start { # unmount-all step, but post-stop happens after lxc puts the container into the # STOPPED state. # $kill - if true it will always do an immediate hard-stop -# $shutdown_timeout - the timeout to wait for a gracefull shutdown +# $shutdown_timeout - the timeout to wait for a graceful shutdown # $kill_after_timeout - if true, send a hardstop if shutdown timed out sub vm_stop { my ($vmid, $kill, $shutdown_timeout, $kill_after_timeout) = @_; diff --git a/src/PVE/LXC/Migrate.pm b/src/PVE/LXC/Migrate.pm index 2fd00441..228394ef 100644 --- a/src/PVE/LXC/Migrate.pm +++ b/src/PVE/LXC/Migrate.pm @@ -246,7 +246,7 @@ sub phase1 { $path_to_volid->{$path}->{$volid} = 1; if (defined($snapname)) { - # we cannot migrate shapshots on local storage + # we cannot migrate snapshots on local storage # exceptions: 'zfspool', 'btrfs' if ($scfg->{type} eq 'zfspool' || $scfg->{type} eq 'btrfs') { return; diff --git a/src/PVE/LXC/Setup/Debian.pm b/src/PVE/LXC/Setup/Debian.pm index fa99ae43..c265dfc5 100644 --- a/src/PVE/LXC/Setup/Debian.pm +++ b/src/PVE/LXC/Setup/Debian.pm @@ -26,7 +26,7 @@ sub new { die "unable to read version info\n" if !defined($version); - # translate testing version and os-release incompat derivates names + # translate testing version and os-release incompat derivative names my $version_map = { 'stretch/sid' => 9.1, 'buster/sid' => 10, diff --git a/src/PVE/VZDump/ConvertOVZ.pm b/src/PVE/VZDump/ConvertOVZ.pm index 9ba05912..4fcfa5ab 100644 --- a/src/PVE/VZDump/ConvertOVZ.pm +++ b/src/PVE/VZDump/ConvertOVZ.pm @@ -202,7 +202,7 @@ sub parse_integer { return undef; } -my $ovz_ressources = { +my $ovz_resources = { numproc => \&parse_res_num_ignore, numtcpsock => \&parse_res_num_ignore, numothersock => \&parse_res_num_ignore, @@ -282,7 +282,7 @@ my $parse_ovz_config = sub { if ($line =~ m/^\s*([A-Z][A-Z0-9_]*)\s*=\s*\"(.*)\"\s*$/i) { my $name = lc($1); my $text = $2; - my $parser = $ovz_ressources->{$name}; + my $parser = $ovz_resources->{$name}; if (!$parser || !ref($parser)) { $data->{$name}->{value} = $text; next; diff --git a/src/lxc-pve-userns.conf b/src/lxc-pve-userns.conf index 33296251..0e2b07eb 100644 --- a/src/lxc-pve-userns.conf +++ b/src/lxc-pve-userns.conf @@ -3,5 +3,5 @@ # Reset cgroupv2: lxc.cgroup2.devices.deny = lxc.cgroup2.devices.allow = -# For unprivileged contaienrs we make it a deny-list: +# For unprivileged containers we make it a deny-list: lxc.cgroup2.devices.allow = a -- 2.47.3 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel