tape: pmt - fix count parameter schema

This commit is contained in:
Dietmar Maurer 2021-02-01 10:21:25 +01:00
parent 8e6ad4301d
commit e995996290

View File

@ -29,7 +29,7 @@ use proxmox::{
pub const FILE_MARK_COUNT_SCHEMA: Schema = pub const FILE_MARK_COUNT_SCHEMA: Schema =
IntegerSchema::new("File mark count.") IntegerSchema::new("File mark count.")
.minimum(1) .minimum(1)
.minimum(i32::MAX as isize) .maximum(i32::MAX as isize)
.schema(); .schema();
use proxmox_backup::{ use proxmox_backup::{