From 18ce01caff818fec7ef44a57e01bcb61f3a07064 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Mon, 22 Feb 2021 09:43:13 +0100 Subject: [PATCH] tape: use correct schema for changer path (SCSI_CHANGER_PATH_SCHEMA) --- src/api2/config/changer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/api2/config/changer.rs b/src/api2/config/changer.rs index b099427a..a40939fd 100644 --- a/src/api2/config/changer.rs +++ b/src/api2/config/changer.rs @@ -14,7 +14,7 @@ use crate::{ api2::types::{ PROXMOX_CONFIG_DIGEST_SCHEMA, CHANGER_NAME_SCHEMA, - LINUX_DRIVE_PATH_SCHEMA, + SCSI_CHANGER_PATH_SCHEMA, SLOT_ARRAY_SCHEMA, EXPORT_SLOT_LIST_SCHEMA, ScsiTapeChanger, @@ -34,7 +34,7 @@ use crate::{ schema: CHANGER_NAME_SCHEMA, }, path: { - schema: LINUX_DRIVE_PATH_SCHEMA, + schema: SCSI_CHANGER_PATH_SCHEMA, }, "export-slots": { schema: EXPORT_SLOT_LIST_SCHEMA, @@ -156,7 +156,7 @@ pub enum DeletableProperty { schema: CHANGER_NAME_SCHEMA, }, path: { - schema: LINUX_DRIVE_PATH_SCHEMA, + schema: SCSI_CHANGER_PATH_SCHEMA, optional: true, }, "export-slots": {