tape: rename DRIVE_ID_SCHEMA to DRIVE_NAME_SCHEMA

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

No files matched your search

+2 -2
View File
@@ -21,7 +21,7 @@ use proxmox::{
use crate::{
api2::types::{
DRIVE_ID_SCHEMA,
DRIVE_NAME_SCHEMA,
VirtualTapeDrive,
LinuxTapeDrive,
ScsiTapeChanger,
@@ -34,7 +34,7 @@ lazy_static! {
fn init() -> SectionConfig {
let mut config = SectionConfig::new(&DRIVE_ID_SCHEMA);
let mut config = SectionConfig::new(&DRIVE_NAME_SCHEMA);
let obj_schema = match VirtualTapeDrive::API_SCHEMA {
Schema::Object(ref obj_schema) => obj_schema,