From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate001.proxmox.com (gate001.proxmox.com [45.144.208.40]) by lore.proxmox.com (Postfix) with ESMTPS id 9B0141FF0C0 for ; Wed, 21 Oct 2026 11:00:46 +0200 (CEST) Received: from gate001.proxmox.com (localhost.localdomain [127.0.0.1]) by gate001.proxmox.com (Proxmox) with ESMTP id 1E8D52175A; Wed, 21 Oct 2026 10:59:52 +0200 (CEST) From: Dominik Rusovac To: pve-devel@lists.proxmox.com Subject: [PATCH pve-ha-manager 14/15] manager: rename update_crs_scheduler_mode Date: Wed, 21 Oct 2026 10:59:31 +0200 Message-ID: <20261021085932.1196302-15-d.rusovac@proxmox.com> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261021085932.1196302-1-d.rusovac@proxmox.com> References: <20261021085932.1196302-1-d.rusovac@proxmox.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Bm-Milter-Handled: 55990f41-d878-4baa-be0a-ee34c49e34d2 X-Bm-Transport-Timestamp: 1792573178043 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.088 Adjusted score from AWL reputation of From: address DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment (newer systems) RCVD_IN_DNSWL_MED -2.3 Sender listed at https://www.dnswl.org/, medium trust SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Message-ID-Hash: Q3ONLNPB6JJXZ3U2QFNBFXSILLD6HZGN X-Message-ID-Hash: Q3ONLNPB6JJXZ3U2QFNBFXSILLD6HZGN X-MailFrom: d.rusovac@proxmox.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Proxmox VE development discussion List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Rename to 'update_crs_settings' to be more precise and avoid confusion with CRS 'Scheduling Mode'. Signed-off-by: Dominik Rusovac --- src/PVE/HA/Manager.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/PVE/HA/Manager.pm b/src/PVE/HA/Manager.pm index 4d0114c..78d4952 100644 --- a/src/PVE/HA/Manager.pm +++ b/src/PVE/HA/Manager.pm @@ -94,7 +94,7 @@ sub new { # preserve disarm state across CRM master changes $self->{ms}->{disarm} = $old_ms->{disarm} if defined($old_ms->{disarm}); - $self->update_crs_scheduler_mode(); # initial set, we update it once every loop + $self->update_crs_settings(); # initial set, we update it once every loop return $self; } @@ -113,7 +113,7 @@ sub update_and_log_change { return; } -sub update_crs_scheduler_mode { +sub update_crs_settings { my ($self) = @_; my $haenv = $self->{haenv}; @@ -1108,7 +1108,7 @@ sub manage { return; } - $self->update_crs_scheduler_mode(); + $self->update_crs_settings(); $self->try_persistent_group_migration(); -- 2.47.3