tape: use correct schema for changer path (SCSI_CHANGER_PATH_SCHEMA)
This commit is contained in:
parent
5bc8e80a99
commit
18ce01caff
|
@ -14,7 +14,7 @@ use crate::{
|
||||||
api2::types::{
|
api2::types::{
|
||||||
PROXMOX_CONFIG_DIGEST_SCHEMA,
|
PROXMOX_CONFIG_DIGEST_SCHEMA,
|
||||||
CHANGER_NAME_SCHEMA,
|
CHANGER_NAME_SCHEMA,
|
||||||
LINUX_DRIVE_PATH_SCHEMA,
|
SCSI_CHANGER_PATH_SCHEMA,
|
||||||
SLOT_ARRAY_SCHEMA,
|
SLOT_ARRAY_SCHEMA,
|
||||||
EXPORT_SLOT_LIST_SCHEMA,
|
EXPORT_SLOT_LIST_SCHEMA,
|
||||||
ScsiTapeChanger,
|
ScsiTapeChanger,
|
||||||
|
@ -34,7 +34,7 @@ use crate::{
|
||||||
schema: CHANGER_NAME_SCHEMA,
|
schema: CHANGER_NAME_SCHEMA,
|
||||||
},
|
},
|
||||||
path: {
|
path: {
|
||||||
schema: LINUX_DRIVE_PATH_SCHEMA,
|
schema: SCSI_CHANGER_PATH_SCHEMA,
|
||||||
},
|
},
|
||||||
"export-slots": {
|
"export-slots": {
|
||||||
schema: EXPORT_SLOT_LIST_SCHEMA,
|
schema: EXPORT_SLOT_LIST_SCHEMA,
|
||||||
|
@ -156,7 +156,7 @@ pub enum DeletableProperty {
|
||||||
schema: CHANGER_NAME_SCHEMA,
|
schema: CHANGER_NAME_SCHEMA,
|
||||||
},
|
},
|
||||||
path: {
|
path: {
|
||||||
schema: LINUX_DRIVE_PATH_SCHEMA,
|
schema: SCSI_CHANGER_PATH_SCHEMA,
|
||||||
optional: true,
|
optional: true,
|
||||||
},
|
},
|
||||||
"export-slots": {
|
"export-slots": {
|
||||||
|
|
Loading…
Reference in New Issue