5
0
mirror of git://git.proxmox.com/git/pve-cluster.git synced 2025-03-11 16:58:28 +03:00

pvecm: updatecerts: improve variable naming

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2023-07-01 17:15:55 +02:00
parent 97dc596c68
commit 1d42870684

View File

@ -572,6 +572,7 @@ __PACKAGE__->register_method ({
returns => { type => 'null' },
code => sub {
my ($param) = @_;
my ($force_new_cert, $silent) = $param->@{qw(force silent)};
# we get called by the pveproxy.service ExecStartPre and as we do
# IO (on /etc/pve) which can hang (uninterruptedly D state). That'd be
@ -584,7 +585,7 @@ __PACKAGE__->register_method ({
usleep(100 * 1000);
}
PVE::Cluster::Setup::updatecerts_and_ssh($param->@{qw(force silent)});
PVE::Cluster::Setup::updatecerts_and_ssh($force_new_cert, $silent);
PVE::Cluster::prepare_observed_file_basedirs();
});