]> git.proxmox.com Git - pve-cluster.git/commitdiff
vmid range: drop perl error context for lower > upper check
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 May 2022 10:59:14 +0000 (12:59 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 2 May 2022 10:59:14 +0000 (12:59 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
data/PVE/DataCenterConfig.pm

index 782abea38af0867e9924602dfc8eacd7705b2de3..a82271b2ccb35959f8bebd561402ae97ec5ec0db 100644 (file)
@@ -336,7 +336,7 @@ sub write_datacenter_config {
        my $lower = int($next_id->{lower} // $next_id_format->{lower}->{default});
        my $upper = int($next_id->{upper} // $next_id_format->{upper}->{default});
 
-       die "lower ($lower) <= upper ($upper) boundary rule broken" if $lower > $upper;
+       die "lower ($lower) <= upper ($upper) boundary rule broken\n" if $lower > $upper;
 
        $cfg->{'next-id'} = PVE::JSONSchema::print_property_string($next_id, $next_id_format);
     }