[pve-devel] [PATCH manager 1/4] Status/Plugin: fix jsonschema for MTU

Dominik Csapak d.csapak at proxmox.com
Fri Nov 20 10:50:46 CET 2020


jsonschema wants 'minimum' not 'min'

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 PVE/Status/Plugin.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Status/Plugin.pm b/PVE/Status/Plugin.pm
index 26ac177e..4476c5dd 100644
--- a/PVE/Status/Plugin.pm
+++ b/PVE/Status/Plugin.pm
@@ -37,7 +37,7 @@ my $defaultData = {
 	    type => 'integer',
 	    description => "MTU for metrics transmission over UDP",
 	    default => 1500,
-	    min => 512,
+	    minimum => 512,
 	    maximum => 64*1024,
 	    optional => 1,
 	},
-- 
2.20.1






More information about the pve-devel mailing list