tape: rename CHANGER_ID_SCHEMA to CHANGER_NAME_SCHEMA

This commit is contained in:
Dietmar Maurer
2020-12-13 09:22:08 +01:00
parent 49c965a497
commit 7e1d4712b8
5 changed files with 17 additions and 17 deletions

View File

@ -9,7 +9,7 @@ use proxmox::list_subdirs_api_method;
use crate::{
config,
api2::types::{
CHANGER_ID_SCHEMA,
CHANGER_NAME_SCHEMA,
ScsiTapeChanger,
TapeDeviceInfo,
MtxStatusEntry,
@ -33,7 +33,7 @@ use crate::{
input: {
properties: {
name: {
schema: CHANGER_ID_SCHEMA,
schema: CHANGER_NAME_SCHEMA,
},
},
},
@ -103,7 +103,7 @@ pub async fn get_status(name: String) -> Result<Vec<MtxStatusEntry>, Error> {
input: {
properties: {
name: {
schema: CHANGER_ID_SCHEMA,
schema: CHANGER_NAME_SCHEMA,
},
from: {
description: "Source slot number",