[pbs-devel] [PATCH proxmox-backup v2 02/15] api2/tape/drive: add load_media as api call
Dominik Csapak
d.csapak at proxmox.com
Thu Jan 28 12:59:42 CET 2021
code was already there, just add it as api call
Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
src/api2/tape/drive.rs | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/api2/tape/drive.rs b/src/api2/tape/drive.rs
index df7752df..f405208d 100644
--- a/src/api2/tape/drive.rs
+++ b/src/api2/tape/drive.rs
@@ -1194,6 +1194,11 @@ pub const SUBDIRS: SubdirMap = &sorted!([
&Router::new()
.put(&API_METHOD_LABEL_MEDIA)
),
+ (
+ "load-media",
+ &Router::new()
+ .put(&API_METHOD_LOAD_MEDIA)
+ ),
(
"load-slot",
&Router::new()
--
2.20.1
More information about the pbs-devel
mailing list