api2/tape/drive: add load_media as api call

code was already there, just add it as api call

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2021-01-28 12:59:42 +01:00 committed by Dietmar Maurer
parent 18262a88c9
commit f45dceeb73

View File

@ -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()