From e9959962904ba60538ae7b3a0c33c5c07278af5e Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 1 Feb 2021 10:21:25 +0100 Subject: [PATCH] tape: pmt - fix count parameter schema --- src/bin/pmt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/pmt.rs b/src/bin/pmt.rs index c308b718..6e1d57fb 100644 --- a/src/bin/pmt.rs +++ b/src/bin/pmt.rs @@ -29,7 +29,7 @@ use proxmox::{ pub const FILE_MARK_COUNT_SCHEMA: Schema = IntegerSchema::new("File mark count.") .minimum(1) - .minimum(i32::MAX as isize) + .maximum(i32::MAX as isize) .schema(); use proxmox_backup::{