From 8a16c571d211f77ec2e21137d3df5871c99a4bbb Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Wed, 9 Dec 2020 12:55:10 +0100 Subject: [PATCH] tape: add changer property to drive create api --- src/api2/config/drive.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/api2/config/drive.rs b/src/api2/config/drive.rs index d5e3bcd8..2f367b59 100644 --- a/src/api2/config/drive.rs +++ b/src/api2/config/drive.rs @@ -31,6 +31,10 @@ use crate::{ path: { schema: LINUX_DRIVE_PATH_SCHEMA, }, + changer: { + schema: CHANGER_ID_SCHEMA, + optional: true, + }, }, }, )]