From 77cfe892381b544b174d47be86ff8fa63bee8392 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 20 Nov 2024 17:54:19 +0100 Subject: [PATCH] api: status: code style clean-up Signed-off-by: Thomas Lamprecht --- src/PVE/API2/HA/Status.pm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/PVE/API2/HA/Status.pm b/src/PVE/API2/HA/Status.pm index dc21049..be9001c 100644 --- a/src/PVE/API2/HA/Status.pm +++ b/src/PVE/API2/HA/Status.pm @@ -195,8 +195,12 @@ __PACKAGE__->register_method ({ my $lrm_status = PVE::HA::Config::read_lrm_status($node); my $id = "lrm:$node"; if (!$lrm_status->{timestamp}) { - push @$res, { id => $id, type => 'lrm', node => $node, - status => "$node (unable to read lrm status)"}; + push @$res, { + id => $id, + type => 'lrm', + node => $node, + status => "$node (unable to read lrm status)", + }; } else { my $status_str = &$timestamp_to_status($ctime, $lrm_status->{timestamp}); my $lrm_mode = $lrm_status->{mode};