api2/tape/drive: reorganize drive api
similar to the changers, create a listing at /tape/drive and put the specific api calls below that move the scan api call up one level remove the status info from the config listing Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Dietmar Maurer
parent
d8792b88ef
commit
5fdaecf6f4
@ -54,6 +54,11 @@ const SUBDIRS: SubdirMap = &[
|
||||
&Router::new()
|
||||
.get(&API_METHOD_SCAN_CHANGERS),
|
||||
),
|
||||
(
|
||||
"scan-drives",
|
||||
&Router::new()
|
||||
.get(&drive::API_METHOD_SCAN_DRIVES),
|
||||
),
|
||||
];
|
||||
|
||||
pub const ROUTER: Router = Router::new()
|
||||
|
Reference in New Issue
Block a user