[PATCH ha-manager 2/2] format code with perltidy

Michael Köppl
2026-03-24T12:50:09Z

Signed-off-by: Michael Köppl <m.koeppl@proxmox.com>
---
src/PVE/HA/Usage/Static.pm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/PVE/HA/Usage/Static.pm b/src/PVE/HA/Usage/Static.pm
index 6ff2079..b60f500 100644
--- a/src/PVE/HA/Usage/Static.pm
+++ b/src/PVE/HA/Usage/Static.pm
@@ -33,8 +33,10 @@ sub add_node {

my $stats = $self->{'node-stats'}->{$nodename}
or die "did not get static node usage information for '$nodename'\n";
- die "static node usage information for '$nodename' missing cpu count\n" if !defined($stats->{maxcpu});
- die "static node usage information for '$nodename' missing memory\n" if !defined($stats->{maxmem});
+ die "static node usage information for '$nodename' missing cpu count\n"
+ if !defined($stats->{maxcpu});
+ die "static node usage information for '$nodename' missing memory\n"
+ if !defined($stats->{maxmem});

eval { $self->{scheduler}->add_node($nodename, int($stats->{maxcpu}), int($stats->{maxmem})); };
die "initializing static node usage for '$nodename' failed - $@" if $@;
--
2.47.3