tape: rename DRIVE_ID_SCHEMA to DRIVE_NAME_SCHEMA

This commit is contained in:
Dietmar Maurer
2020-12-13 09:18:16 +01:00
parent 6fe9aedd0b
commit 49c965a497
8 changed files with 38 additions and 38 deletions

View File

@ -8,7 +8,7 @@ use crate::{
config,
api2::types::{
PROXMOX_CONFIG_DIGEST_SCHEMA,
DRIVE_ID_SCHEMA,
DRIVE_NAME_SCHEMA,
CHANGER_ID_SCHEMA,
CHANGER_DRIVE_ID_SCHEMA,
LINUX_DRIVE_PATH_SCHEMA,
@ -28,7 +28,7 @@ use crate::{
input: {
properties: {
name: {
schema: DRIVE_ID_SCHEMA,
schema: DRIVE_NAME_SCHEMA,
},
path: {
schema: LINUX_DRIVE_PATH_SCHEMA,
@ -72,7 +72,7 @@ pub fn create_drive(param: Value) -> Result<(), Error> {
input: {
properties: {
name: {
schema: DRIVE_ID_SCHEMA,
schema: DRIVE_NAME_SCHEMA,
},
},
},
@ -161,7 +161,7 @@ pub enum DeletableProperty {
input: {
properties: {
name: {
schema: DRIVE_ID_SCHEMA,
schema: DRIVE_NAME_SCHEMA,
},
path: {
schema: LINUX_DRIVE_PATH_SCHEMA,
@ -258,7 +258,7 @@ pub fn update_drive(
input: {
properties: {
name: {
schema: DRIVE_ID_SCHEMA,
schema: DRIVE_NAME_SCHEMA,
},
},
},