From 8ca3c4bba3112b7d74c52b5da90051f3fab8ec05 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Wed, 4 May 2022 07:25:41 +0200 Subject: [PATCH] datacenter cfg: clarify that next-id upper boundary is exclusive and fix max Signed-off-by: Thomas Lamprecht --- data/PVE/DataCenterConfig.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/PVE/DataCenterConfig.pm b/data/PVE/DataCenterConfig.pm index a82271b..bcd77f8 100644 --- a/data/PVE/DataCenterConfig.pm +++ b/data/PVE/DataCenterConfig.pm @@ -62,9 +62,9 @@ my $next_id_format = { }, upper => { type => 'integer', - description => "Upper, inclusive boundary for free next-id API range.", + description => "Upper, exclusive boundary for free next-id API range.", min => 100, - max => 1000 * 1000 * 1000 - 1, + max => 1000 * 1000 * 1000, default => 1000 * 1000, # lower than the maximum on purpose optional => 1, }, -- 2.39.2